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: [email protected]
For additional commands, e-mail: [email protected]