http://www.perlmonks.org?node_id=979650


in reply to get string between two < tags > in .js file (xml)

You need m%%, the regular expression search operator instead of s%%%, the regular expression substitute operator. The code below should give you a start, more you can find out in the perl documentation perlre

my ($result)= m%</Name><Symbol>([^<]*)</Symbol>%;