That'll remove a URL variable named message from the string. Just run that
every time before you append your message variable, and you'll be set.
Cheers,
barneyb
> -----Original Message-----
> From: Burns, John D [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 02, 2004 10:43 AM
> To: CF-Talk
> Subject: Regex help
>
> I've dabbled in regex, but am not very good at it yet :-) Anyone
> willing to help with this would be extremely helpful.
>
> I have a string (actually coming from cgi.http_referer) and I append a
> variable to the end to pass the status of an operation back to the
> original page. I do this for errors and success through the same
> variable. The problem is that if I send it in an error and then the
> user fixes the problem and resubmits, I get the original message
> appended in the url string. I want to use a regex to replace the url
> variable and value if it exists. Can anyone provide some help?
>
> http://www.somedomain.com/index.cfm?action=""> > 0is%20the%
> 20error%20message
>
> I want to do a rereplace that will find if there is the word
> message in
> the string and remove anything after it up until the next & symbol or
> the end of the string. Thanks!
>
> John
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

