/ Published in: ActionScript
URL: http://www.burnedouthippy.com/2010/11/removing-non-alpha-numeric-characters-from-a-string/
Useful for stripping out backslashes, hyphens and other punctuation
Expand |
Embed | Plain Text
var r:RegExp = new RegExp(/[^a-zA-Z 0-9]+/g) ; yourString = yourString.replace(r, "");
You need to login to post a comment.
