Revision: 42169
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 28, 2011 21:40 by gromitski
Initial Code
var r:RegExp = new RegExp(/[^a-zA-Z 0-9]+/g) ; yourString = yourString.replace(r, "");
Initial URL
http://gromitski.com/blog/removing-non-alpha-numeric-characters-from-a-string/
Initial Description
Useful for stripping out backslashes, hyphens and other punctuation
Initial Title
Remove non alpha numeric characters from a string
Initial Tags
regex, actionscript
Initial Language
ActionScript