Skip to content

Instantly share code, notes, and snippets.

@andretw
Last active August 29, 2015 14:01
Show Gist options
  • Save andretw/a911ccb863ae1b34b86d to your computer and use it in GitHub Desktop.
Save andretw/a911ccb863ae1b34b86d to your computer and use it in GitHub Desktop.
Search and replace by RegEx in Sublime or Atom. (IDE)
# find and replace ' to \' in the middle of '@ and @' (escape)
Find What: '\@(.+)'(.+)\@'
Replace With: '@$1\\'$2@'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment