Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: searching for one or more instances of text between tagsby choroba (Cardinal) |
on Oct 13, 2015 at 08:52 UTC ( [id://1144654]=note: print w/replies, xml ) | Need Help?? |
Don't use regular expressions to parse HTML. Use a tool that already knows how to parse HTML. For example, here's how you can get the desired output in XML::XSH2, a wrapper around XML::LibXML:
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|