I have a string on more lines, like:

AAAAAAAAAAA THIS IS AAAAA
A BBBBBBBBBBBBBBBBBBBBBBBB
CCSTRINGCCCCCCC TODAY CC
DDDDDDDDD GREP ME NOW DD

I want to "grep" with ANT propertyregex the word "TODAY".

What should i put on regexp field to extract the word TODAY ?

<propertyregex property="OUTPUT_PROPERTY"              
input="${INPUT_TEXT}"             
regexp="????????"              
select="\2"             
casesensitive="true" />

I want to IGNORE every character before " TODAY" and every character after
"TODAY " and
test if the text HAS the word " TODAY " in his body.

Thanks
Andrea




-- 
View this message in context: 
http://old.nabble.com/Regular-expression-in-%3Cpropertyregex%3E-tp26498126p26498126.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to