Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Java (http://www.domainnameforum.org/forumdisplay.php?f=125)
-   -   How to delete lines with regex in java? (http://www.domainnameforum.org/showthread.php?t=141067)

Java 02-03-2011 02:24 PM

How to delete lines with regex in java?
 
Hi, i'm trying to use regex to delete lines which starts with a letter or a number. for example: if i have a text file with many lines and i want to delete every lines which starts with S and 2. What operator do i have to use? i tried this but it prints every line from text.


All times are GMT -4. The time now is 11:02 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.