If I have a string like this:
\"word1 \'word2\' word3\"
is it possible to use a regex replace to change the string to this:
I would say :
s/"(word1)\s+('.+?')\s+(word3)"/"$1 $3 $2"/