foreach ($text =~ m#<tr>(.*?)</tr>#gmsi) { # Note that foreach assigns the memorized text to $_ if (/\bISTF\b/) { print "$_\n"; } }
In reply to Re: How do I extract all text around a keyword between two symbols?
by tadman
in thread How do I extract all text around a keyword between two symbols?
by cdherold
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |