Actually, the carret acts as a negative for a single charactar, not an entire string:
[^pascal] matches a single character that is not p, a, s, c, a, or l. There is no easy way of finding everything but a string (longer than 1 character). Pascal -----Original Message----- From: Alex [mailto:[EMAIL PROTECTED]] Sent: vrijdag 18 januari 2002 15:58 To: CF-Talk Subject: RE: A few quick regular expression questions You do. the carrot ^ acts as a negative /[^A-Za-z]/ On Fri, 18 Jan 2002, Pascal Peters wrote: > You don't > > -----Original Message----- > From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] > Sent: vrijdag 18 januari 2002 12:19 > To: CF-Talk > Subject: RE: A few quick regular expression questions > > > James and Joel. > > Thanks for your replies. > > Out of curiosity how would you do a regex to find everything but a > particular string? > ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

