Hi,

I have the following regex:

REReplacenocase(fusebox.layout, '(href="index\.cfm[^"]+)(")','\1&#request.urltoken#\2', 'all')

I am trying to append the #request.urltoken# variable onto the end of any url containing index.cfm.

Most of the url's look like the following:

index.cfm?fuseaction=home.content&cmid=3

I want this to be converted to:

index.cfm?fuseaction=home.content&cmid=3&CFID=12345&CFTOKEN=123345233

What am I missing from the above regex as it doesn't seem to be working properly.

The cmid values can be any number not just a single digit.

Cheers

Dave


-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



Reply via email to