Disco... very nice, thank you all ;0)

----- Original Message ----- 
From: "Paul Johnston" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 18, 2003 3:46 PM
Subject: RE: [ cf-dev ] RegEx I assume


> Put the regex in quotes "([a-z])"
> 
> Coldfusion thinks it's a variable and throws an "invalid variable name"
> error I assume.
> 
> Paul
> 
> > -----Original Message-----
> > From: Damian Watson [mailto:[EMAIL PROTECTED] 
> > Sent: 18 August 2003 15:42
> > To: [EMAIL PROTECTED]
> > Subject: Re: [ cf-dev ] RegEx I assume
> > 
> > 
> > No worries Duncan ;)
> > 
> > Tim, Simon, Duncan-- I get an error:
> > Missing argument name.
> > Here's the code:
> > 
> > <cfsavecontent variable="text"><p>Private sources of funding 
> > for SEN pupils (See I13). 6th form funding for SEN pupils 
> > (See I02). Funds delegated by the LEA to a special school 
> > (See I01).</p></cfsavecontent>
> > 
> > <cfoutput>
> > #REReplaceNoCase(text,([a-z]{1,1}[0-9]{2,2}), "<a 
> > href='whatever.htm?combo=\1'>\1</a>", "ALL")# </cfoutput>
> > 
> > cheers
> > d
> > 
> > 
> > 
> > ----- Original Message ----- 
> > From: "Duncan Fenton" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, August 18, 2003 3:26 PM
> > Subject: RE: [ cf-dev ] RegEx I assume
> > 
> > 
> > > OK, guys, I did clearly miss the point.
> > > Back to the drawing board I guess.
> > > Duncan
> > >
> > > -----Original Message-----
> > > From: Duncan Fenton [mailto:[EMAIL PROTECTED]
> > > Sent: 18 August 2003 15:22
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [ cf-dev ] RegEx I assume
> > >
> > >
> > > Damien, is this any good? Or have I missed the point?
> > > (This is my first post to this list)
> > >
> > >   <cfset fred = "A12"> <!-- just an example -->
> > >   <cfoutput><A href="http://127.0.0.1.htm?combo=#fred#";>hit
> > > me</a></cfoutput>
> > >
> > > Duncan Fenton
> > > Director,
> > > Alan Morris Ltd
> > > 07986 047588
> > >
> > > -----Original Message-----
> > > From: Damian Watson [mailto:[EMAIL PROTECTED]
> > > Sent: 18 August 2003 14:53
> > > To: [EMAIL PROTECTED]
> > > Subject: [ cf-dev ] RegEx I assume
> > >
> > >
> > > Hi,
> > >
> > > Say I have a long string of text inside of which I have character 
> > > combinations of A12 (one letter, two numerals). I want to turn any 
> > > alpha-numeric combos of this nature into a link so for 
> > instance into: 
> > > <a href="whatever.htm?combo=A12">A12</a>.
> > >
> > > How'd I do that?
> > >
> > > Thanks
> > > d
> > >
> > >
> > >
> > > --
> > > ** 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]
> > >
> > >
> > 
> > 
> > 
> > -- 
> > ** 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]
> 


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