No need for regex.

/help isupper
/help islower

Code:
if ($nick isupper) { do this }


Now, I do believe (and can't check right now) that isupper will also be true if you have numbers/symbols mixed in:

MARK12 = $true

If you want to not count that as a match, look into:

/help isalpha


Invision Support
#Invision on irc.irchighway.net