DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
remove special characters in javascript
const str = "abc's test#s"; console.log(str.replace(/[^a-zA-Z ]/g, "")); Run code snippet
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#special
#characters
#javascript
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit