in reply to Re^2: Regex help reqd
in thread Regex help reqd

This will do the trick

if($string=~ m/<\/section>/) { print "Here :: $& \n"; } else { print "regex failed"; }