Created
May 30, 2014 16:13
-
-
Save alexserver/698921006bb12133015e to your computer and use it in GitHub Desktop.
replace single quotes by double quotes with regex in SublimeText or any editor.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//how to replace all single quotes by double quotes: | |
//search/replace, check regex. | |
//search: | |
'([^\']*)' | |
//replace: | |
"$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for writing this!
For VS Code editor search pattern must be without escaping
\
character, i.e.'([^']*)'