kevyt has asked for the wisdom of the Perl Monks concerning the following question:
UPDATE: Someone helped. This works.</State><Zip>81919-9814</Zip><Country>US</Country>
$s = '</State><Zip>81919-9814</Zip><Country>US</Country>'; print "before = $s\n"; $s =~ /<Zip>(.*?)<\/Zip>/; print "after = $1\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::DOM extracting a digits between 2 tags
by imp (Priest) on Jun 07, 2007 at 01:14 UTC | |
|
Re: XML::DOM extracting digits between 2 tags
by johngg (Canon) on Jun 07, 2007 at 09:35 UTC |