in reply to Re: Regex not working
in thread Regex not working
Also use qr to quote regular expressions instead of manually backslashing everything.
That's actually not necessary here. The OP was just escaping things that didn't need escaping.
$x = "<div class='roundedBoxBody'><p>"; $y = '<p> </p></p>';
Works just as well.
In Section
Seekers of Perl Wisdom