in reply to Regex Problem

quotemeta is your friend.

m/^<[^>]+>\Q$string\E<\/[^>]+>$/

Liz