I need two vars, $1 and $2 for this $content. I want to match the top text into 1 and everything after the first BR to the NEXT it finds. There will never be a premature tag so I want everything out of there to be in $2.cingular">text to match here </font> </b><br> <br> all of this stuff no matter what BR tags or whatever is found should be matched </p>
This is my attempt
$content =~ m#cingular">(.+?)<\/font>\s*<\/b><br>(.+?)<\/p>#xi;
In reply to small regex by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |