Fellow Monks,
I have a little app that uses a regular expression, the regex uses:
<APPEND.*>
The information I need from this is the result of the postmatch of this search. Trouble is the greedy quantifier.
The expression is searching on a string like:
<APPEND changed_date="02-02-2003">This is sample text</APPEND>
I would like the postmatch to give me back::
This is sample text</APPEND>
Instead, I think its matching to the '>' at the end of the string. What I need is to be able to tell the regex that the first time it encounters a '>' that it has achieved its match, is this possible? I would appreciate any ideas you may have on this.
Martymart