Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Removing HTML beginning and ending tag with everything in between?by ikegami (Patriarch) |
on Sep 01, 2011 at 20:23 UTC ( [id://923716]=note: print w/replies, xml ) | Need Help?? |
For that very specific text, your substitution does work. (There's a syntax error building your string because you use " as a delimited and you didn't escape the " characters within the string.) Using XML::LibXML (which has an HTML parser), it would be:
In Section
Seekers of Perl Wisdom
|
|