in reply to Regex: Changing $1

Just store what's around in other variables:
if (my ($prefix, $matched, $suffix) = /^(.*?)"(.+?)"(.*)/) { $matched = ... # Do what you need. print qq($prefix"$matched"$suffix\n); }
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ