^a-zA-Z0-9 excluding spaces?
I am trying to find everything in a paragraph that is not abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 and not space / /gi

    /[^a-zA-Z0-9]|[^ ]/gi

the above doesn't work!


edit I have kept this open for a while... meanwhile, I figgured it out and would like to share it as I couldn't find the answer elsewhere:

    /[^a-zA-Z0-9 ]/gi

winning!!
^a-zA-Z0-9 excluding spaces?
===

I am trying to find everything in a paragraph that is not abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 and not space / /gi

    /[^a-zA-Z0-9]|[^ ]/gi

the above doesn't work!


edit I have kept this open for a while... meanwhile, I figgured it out and would like to share it as I couldn't find the answer elsewhere:

    /[^a-zA-Z0-9 ]/gi

winning!!