Skip to content Skip to sidebar Skip to footer

^a-zA-Z0-9 Excluding Spaces?


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.


Post a Comment for "^a-zA-Z0-9 Excluding Spaces?"