Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove all white spaces and different characters globally

str = text.toLowerCase().replace(/[^A-Za-z0-9]/g,'');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #white #spaces #characters #globally
ADD COMMENT
Topic
Name
1+2 =