in reply to Re^3: Regex for replacing a character "not next to" another character (updated)
in thread Regex for replacing a character "not next to" another character

OK, but in this case, for the sake of readability and maintainability, better stick with one approach
DB<105> p $str =~ s/ (?<=[^"\n]) \t (?=[^"\n]) /***/gxr start***middle1 "quote1***quote2" middle2***end start***middle1 "quote1***quote2" middle2***end

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re^4: Regex for replacing a character "not next to" another character
  • Download Code