Board Thread:Support Requests - Getting Technical/@comment-28171460-20180507234401

Is there a way of removing all non-alphanumeric symbols from a string? This would include spaces and whatnot.

I've been trying to find an easy way of removing all non-alphanumeric symbols and blank-spaces from the string. I managed to make this:

...But that is really ugly, and it doesn't always seem to remove apostrophes. Can any of you help me create a simpler (more surefire) method? 