Need to strip slashes, back slashes, hyphens and other symbols from a string? Looked at regex and cried "why? why? why?" at the moon repeatedly? Considered throwing your monitor out of the window? No worries. Here's your solution:
var r:RegExp = new RegExp(/[^a-zA-Z 0-9]+/g); yourString = yourString.replace(r, "");
Robert's your father's brother.