^a-zA-Z0-9 Excluding Spaces? April 02, 2002 Post a Comment Answer :You could also try with: /[^a-zA-Z0-9\s]/gi If you only want to exclude spaces use: [^ ]* Test the regex here if you want. Share Post a Comment for "^a-zA-Z0-9 Excluding Spaces?"
Post a Comment for "^a-zA-Z0-9 Excluding Spaces?"