Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js remove special characters

var desired = stringToReplace.replace(/[^ws]/gi, '')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #remove #special #characters
ADD COMMENT
Topic
Name
2+1 =