/ Published in: JavaScript
Expand |
Embed | Plain Text
var re = /\$|\u00A3|\u20AC|,|@|#|~|`|\%|\*|\^|\&|\(|\)|\+|\=|\[|\-|\_|\]|\[|\}|\{|\;|\:|\'|\"|\<|\>|\?|\||\\|\!|\$|\./g; // remove special characters like "$" and "," etc... 'my string'.replace(re, "")
You need to login to post a comment.
