RE: [ cf-dev ] RegEx I assume

2003-08-19 Thread Rich Wild
To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] RegEx I assume One final question on this-- I need to extend the functionality to include text with AA11 (two alphas and two numerals). What I've done is: cfsavecontent variable=Text#REReplaceNoCase(Includes,([a-z]{1,1}[0-9]{2, 2}), a href

Re: [ cf-dev ] RegEx I assume

2003-08-19 Thread Damian Watson
ah just the ticket, ta Rich. I'm starting to understand these things ;0) - Original Message - From: Rich Wild [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 1:41 PM Subject: RE: [ cf-dev ] RegEx I assume change the {1,1) bit to read {1,2} so that it matches one

RE: [ cf-dev ] RegEx I assume

2003-08-19 Thread Paul Johnston
, August 19, 2003 1:41 PM Subject: RE: [ cf-dev ] RegEx I assume change the {1,1) bit to read {1,2} so that it matches one instance or 2 of the [a-z] search. so it would be: ([a-z]{1,2}[0-9]{2,2}) and you'd only need to run that once - ie not have text2. -Original Message

[ cf-dev ] RegEx I assume

2003-08-18 Thread Damian Watson
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=A12A12/a. How'd I do that? Thanks d -- ** Archive:

Re: [ cf-dev ] RegEx I assume

2003-08-18 Thread duncan . cumming
]To: [EMAIL PROTECTED] ign.co.ukcc: Subject: [ cf-dev ] RegEx I assume

RE: [ cf-dev ] RegEx I assume

2003-08-18 Thread Tim Blair
I'd replace this: [A-Za-z]{1,1}[0-9]{2,2} With this: [A-Za-z][0-9]{2} But that's just me... ;) Tim. --- RAWNET LTD - Internet, New Media and ebusiness Gurus. Visit our new website at http://www.rawnet.com for more information about our

RE: [ cf-dev ] RegEx I assume

2003-08-18 Thread Simon Horwith
CFDJList - List Administrator http://www.how2cf.com/ -Original Message- From: Tim Blair [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 15:06 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] RegEx I assume I'd replace this: [A-Za-z]{1,1}[0-9]{2,2} With this: [A-Za-z][0-9]{2} But that's

RE: [ cf-dev ] RegEx I assume

2003-08-18 Thread Duncan Fenton
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

RE: [ cf-dev ] RegEx I assume

2003-08-18 Thread Duncan Fenton
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

Re: [ cf-dev ] RegEx I assume

2003-08-18 Thread Damian Watson
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

RE: [ cf-dev ] RegEx I assume

2003-08-18 Thread Paul Johnston
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

Re: [ cf-dev ] RegEx I assume

2003-08-18 Thread Damian Watson
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

Re: [ cf-dev ] RegEx I assume

2003-08-18 Thread Ian Westbrook
: [ cf-dev ] RegEx I assume No worries Duncan ;) Tim, Simon, Duncan-- I get an error: Missing argument name. Here's the code: cfsavecontent variable=textpPrivate sources of funding for SEN pupils (See I13). 6th form funding for SEN pupils (See I02). Funds delegated

Re: [ cf-dev ] RegEx I assume

2003-08-18 Thread Damian Watson
, 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