in reply to Re^2: Question about parentheses in regex
in thread Question about parentheses in regex

my $remove = quotemeta "{ (This Word) }"; print $remove; # See what happened.

You can also shorten it to

my $text = 'to { (This Word) }'; my $remove = '{ (This Word) }'; $text =~ s/\R//g; $text =~ s/\Q$remove//; # <-- the \Q means quotemeta
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ