s/'(\w+)'/"$1"/g; [download]
In reply to Re: using substitution and pattern matching by borisz in thread using substitution and pattern matching by Anonymous Monk