Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Remove special characters from string

var outString = sourceString.replace(/[`~!@#$%^&*()_|+-=?;:'",.<>{}[]/]/gi, '');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Remove #special #characters #string
ADD COMMENT
Topic
Name
3+2 =