Created
May 28, 2018 19:13
-
-
Save Rosey/b831cf5742dec4dcfff5746ef7672082 to your computer and use it in GitHub Desktop.
Good Example
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
const MY_REGEXP = /\d+/g; | |
items.forEach(function (item) { | |
item.replace(MY_REGEXP, 'boop'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment