About Me

My photo
Drum & Bass Producer, Software Developer, Love my Cats

snippet: JS: string replace all

javascript snippet for replacing all occurrences of a string within a string:
"this is the input string".replace(/this/g, "with that");