If you assume your data is well-structured, you could make the * in .* lazy:
while($con =~/<cite>(.*?)<\/cite>/g)I recommend against this because using regular expressions to parse a markup language is generally a bad idea. You're better off using a CPAN module to parse it for you.
In reply to Re^3: REGEXP to match someting..
by AR
in thread REGEXP to match someting..
by Pr0metheuS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |