Skip to content

Instantly share code, notes, and snippets.

@eriksk
Created July 5, 2012 10:40
Show Gist options
  • Save eriksk/3052906 to your computer and use it in GitHub Desktop.
Save eriksk/3052906 to your computer and use it in GitHub Desktop.
Replace all occurences in js
"This ain't a scene it's a god damn arms race".replace(/god/g, "God");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment