[RESOLVED] Regular Expressions and Javascript Help needed
In need of some reg exp assistance, I would like to remove all characters from a user's input except for those I designate. I have it working all except if a space is added which I would like to keep. I have included the code I am using below. As you can see, I would like to keep all alphanumerics as well as ?, *, and -. I have tried added \s inside and outside the brackets and the spaces remain; however the end user can use special characters (%, #, &, etc) which I want to disallow.
Bookmarks