Skip to content

Instantly share code, notes, and snippets.

@joeke
Created February 25, 2015 09:48
Show Gist options
  • Save joeke/614bfa8c7841afed81a2 to your computer and use it in GitHub Desktop.
Save joeke/614bfa8c7841afed81a2 to your computer and use it in GitHub Desktop.
sublime text regex search replace
* Example: Replace dash (-) to underscore (_) in name attribute *
search:
name="([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)"
replace:
name="\1_\2_\3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment