Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove non alphanumeric characters javascript

input.replace(/W/g, '') //doesnt include underscores


input.replace(/[^0-9a-z]/gi, '') //removes underscores too
 
PREVIOUS NEXT
Tagged: #remove #alphanumeric #characters #javascript
ADD COMMENT
Topic
Name
9+9 =