in reply to
s/// don't delete matching phrase
The suggestion I got when I first asked a similar question was to
not
use Regex and use a HTML/XML parser.
Comment on
Re: s/// don't delete matching phrase
Replies are listed 'Best First'.
Re^2: s/// don't delete matching phrase
by
choroba
(Cardinal)
on Oct 29, 2014 at 12:54 UTC
This is good advice. For example, in
xsh
, you can do just
open :F html file.html ; echo //text() ;
[download]
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
[reply]
[d/l]
In Section
Seekers of Perl Wisdom