Skip to content

Instantly share code, notes, and snippets.

@andraaspar
Last active March 21, 2017 08:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andraaspar/1d6e24f44de22a80f9a938d5f4b4dd38 to your computer and use it in GitHub Desktop.
Save andraaspar/1d6e24f44de22a80f9a938d5f4b4dd38 to your computer and use it in GitHub Desktop.
RegEx for replacing quotes with backticks in ES6
'
`
from `([^`]*)`
from '$1'
`([^`]*)`:
'$1':
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment