>The \b actually did not work, it put the link within the first span element
>but maybe was how I tested it.  I tried:  "(?![</]sub>)(\b)(sub)(\b)" as
>well as  "(?![</]sub>)\b(sub)\b"
>

Ah, you need to change your \2 to \1 in your replace part.

Since the \b is zero-width, it looks like it wont populate a backreference even 
when wrapped in parens.

Infact, if you wanted, you could go a step further and use \0 along with 
"(?![</]sub>)\bsub\b" 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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/cf-talk/message.cfm/messageid:314950
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to