How can you determine if a string is all caps with a regular expression. It can include punctuation and numbers, just no lower case letters.
Why not just use if(string.toUpperCase() == string)? ._. Its more "elegant"... I think you're trying to force in RegExp, but as someone else stated, I don't think this is the best use of regexp...