\. Is not what you want.  Try [.] instead

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

> -----Original Message-----
> From: Dave Phipps [mailto:[EMAIL PROTECTED] 
> Sent: 11 September 2003 16:06
> To: ColdFusion User group
> Subject: [ cf-dev ] Regex problem
> 
> 
> 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]
> 



-- 
** 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