Thanks tangent
I was actually thinking about doing what you suggest, except that I was thinking this: $string =~ s/^(.*?)<text>(.*?)</text>(.*?)$/$2/sm;
I finally decided to go with the solution that poj suggested, it looks quite clean.
TA
In reply to Re^2: XML::LibXML - How to extract an element including the elements within?
by TravelAddict
in thread XML::LibXML - How to extract an element including the elements within?
by TravelAddict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |