Return to Snippet

Revision: 23692
at February 11, 2010 11:03 by susez


Initial Code
var re = /\$|\u00A3|\u20AC|,|@|#|~|`|\%|\*|\^|\&|\(|\)|\+|\=|\[|\-|\_|\]|\[|\}|\{|\;|\:|\'|\"|\<|\>|\?|\||\\|\!|\$|\./g; 
// remove special characters like "$" and "," etc...

'my string'.replace(re, "")

Initial URL

                                

Initial Description

                                

Initial Title
remove special characters

Initial Tags

                                

Initial Language
JavaScript