Last active
May 11, 2020 23:00
-
-
Save iLTW1n/21e39148b98eeb059f5c9dbb92300096 to your computer and use it in GitHub Desktop.
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 regex = /[0-9]/g; | |
const text = 'This is my test 123'; | |
text.replace(regex, ''); // 'This is my test ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment