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

thank you for replying ... That one liner is not going to help me here because it removes all characters before .*</Name><Symbol> and all characters after </Symbol>.* leaving me with only 1 (the first match) of the string
perl -0777 -pe 's#.*</Name><Symbol>##s;s#</Symbol>.*##s'
Any ideas on how to solve this the proper way?

Replies are listed 'Best First'.
Re^3: get string between two < tags > in .js file (xml)
by Anonymous Monk on Jul 03, 2012 at 10:55 UTC

    Any ideas on how to solve this the proper way?

    Sure, but it appears you don't want to do it that way :)( you want regex )