I'd like some help with the RegExp object and literal in Javascript. I've read the entire Javascript 1.5 documentation in hopes of figuring out how to use regular expressions, but it doesn't seem to work.
Basically, all I want to do is to check a string to see if it is just a string of spaces and to reject it if it is. But it is rejecting the asterisk * in the regular expression. How am I supposed to do this???
Basically, all I want to do is to check a string to see if it is just a string of spaces and to reject it if it is. But it is rejecting the asterisk * in the regular expression. How am I supposed to do this???
