regular expresions: java: matching lines with out string
I am interfacing with a java program and i am having trouble figuring out howto match all lines that do not contain "string"
(.*string.*) will match all lines with "string" but i need to opposite. also i need lines that do not contain "?" i assume its just "/?" for the string but im not sure thanks jeff http://dir.happytrees.org |
I think you'll find your answers there:
http://www.oreilly.com/catalog/regex2/chapter/ch08.pdf |
All times are GMT -5. The time now is 01:36 PM. |