Created
October 12, 2019 22:36
-
-
Save itsalb3rt/e0f9b5a0574be5bad6c81638ee8f7cd5 to your computer and use it in GitHub Desktop.
replace all occurrences with special characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log( 'my string {{ID}} and other {{ID}}'.replace(/{{ID}}/gi,1)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment