|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: regex is not working properlyby wind (Priest) |
| on Jun 24, 2011 at 08:33 UTC ( #911205=note: print w/ replies, xml ) | Need Help?? |
|
Don't use greedy matching '.*', use non-greedy instead '.*?' Also, I would suggest that you learn how to use an actual HTML Parser instead of jury rigging regex's.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||