On Thu, Jul 10, 2008 at 10:08 AM, Patrick Santora <[EMAIL PROTECTED]> wrote:
> Hey everyone,
>
> I am trying to find ";" ONLY at the end of a string and not within (like 
> within single or double quotes). I believe I will need to use look aheads and 
> look behinds which I have access too by using the underlying java regex 
> engine in CF. Any ideas on what the expression should look like?
>
> Here is the strings to search against:
> sScoped = "&amp;quotedString=value";
> sScoped = '&amp;quotedString=value';
> sScoped = "&amp" & ";quotedString=value";
>
> NOTE: This is for varScoper, so if you help me fix this i'm sure we can throw 
> your name out on the next release.

At the risk of oversimplifying, could this be as easy as ";$"?  In
other words, match any semicolon that appears as the last character in
the line?

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

Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1150
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