good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Using a Regex to extract tagged contentby lestrrat (Deacon) |
on Feb 27, 2004 at 16:25 UTC ( [id://332292]=note: print w/replies, xml ) | Need Help?? |
davido gave the correct answer already, but here's a simple hack regexp that matches your particular example.
This *will* break in a lot of cases, so if you can at all, use one of the modules that davido recommended, not a silly hack like this.
In Section
Seekers of Perl Wisdom
|
|