Thread
:
Regex, or I'm thick
View Single Post
Mar 27th, 2008, 4:48 PM
#
5
Ooble
I eat cake for breakfast.
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power:
9
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
View Public Profile
Visit Ooble's homepage!
Find More Posts by Ooble