View Single Post
Old Mar 27th, 2008, 4:48 PM   #5
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Re: Regex, or I'm thick

It can mean "not" in a character class. For example: ^[^xyz\s]+$ would match any string that doesn't contain whitespace or the characters "x", "y" or "z".

Regular-Expressions.info is a brilliant resource for regexes.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote