> The current regular expression to handle the situation is 
> [^discard|recycle|generate|frankGrimes]

the characters [ and ] indicate a "class" in which will be found or not
found all the individual characters... so in this case, the class you've
described is the same as: 

[^discar|eylgntfkms] 

You can't have a "string" in a class, only individual characters. 

What you need is a negative look ahead, which might look something like
this: 

(!discard|recycle|generate|frankGrimes).* 

I'm not certain that's correct -- it's been a while since I've needed a
negative lookahead, so I may have fouled the syntax. 

hth,
ike


-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
     ph: 781.769.0723

http://onTap.riaforge.org/blog



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1182
Subscription: http://www.houseoffusion.com/groups/regex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21

Reply via email to