RE: Help with Regular expression

2008-04-01 Thread Dave Francis
or SQL column names... -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 3:24 PM To: CF-Talk Subject: RE: Help with Regular expression You can call them date as long as they're not form field variables. -Original Me

RE: Help with Regular expression

2008-04-01 Thread Andy Matthews
You can call them date as long as they're not form field variables. -Original Message- From: Kris Jones [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 2:48 PM To: CF-Talk Subject: Re: Help with Regular expression You'd want to use ReReplace, rather than Replace of c

Re: Help with Regular expression

2008-04-01 Thread Kris Jones
You'd want to use ReReplace, rather than Replace of course. But probably just formatting it with dateformat() would work: Also, don't know if this is still a problem in CF, but be careful about calling variables "date"... Cheers, Kris > I am trying to replace > "April 01 2008" with "April 1

Re: Help with Regular expression

2008-04-01 Thread Charlie Griefer
On Tue, Apr 1, 2008 at 12:35 PM, Suresh <[EMAIL PROTECTED]> wrote: > I am trying to replace > "April 01 2008" with "April 1 2008" or > "April 02 2008" with "April 2 2008", .. > > This is a start >")#"> #dateFormat(myDate, ' d ')# works for me on CF8 -- Evelyn the dog, havi

Help with Regular expression

2008-04-01 Thread Suresh
Hi all, I am trying to replace "April 01 2008" with "April 1 2008" or "April 02 2008" with "April 2 2008", .. This is a start Can anybody help me? Thanks You rock. That's why Blockbuster's offe

RE: Help with Regular expression

2004-05-20 Thread Thanh Nguyen
Thanks, I figured it out. Thanh. -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 7:38 PM To: CF-Talk Subject: RE: Help with Regular _expression_ Why not simply use replaceList(). Str = replaceList(str, ".,1st,2nd,3rd,4th,5th,6th,7th,8

RE: Help with Regular expression

2004-05-19 Thread Matthew Walker
Why not simply use replaceList(). Str = replaceList(str, ".,1st,2nd,3rd,4th,5th,6th,7th,8th,9th,10th,&", " ,first,second,third,fourth,fifth,sixth,seventh,eighth,ninth,tenth, and ") then str = reReplaceNoCase(str, "^The[[:space:]]", "") then str = reReplace(str, "[^[:alnum:][:space:]]", "", "all"

Help with Regular expression

2004-05-19 Thread Thanh Nguyen
Hi All, I tried to do this regular _expression_, but having a hard time getting the result I want. So any help would be appreciated. Here's what I tried to achieve. 1. remove "The" from in at the beginning of the string. 2. replace period with space. 3. Numerals are treated as though spell

Re: Help with regular expression

2001-11-12 Thread Seth Petry-Johnson
> Personally I don't think this is possible with regexs, but I'd love > to be corrected. It would need to be able to look for an even > number of quotes followed by a greater than sign. What I'm going to try now is to modify the regexp to distinguish between string data (anything enclosed in quot

Re: Help with regular expression

2001-11-12 Thread David Cummins
Personally I don't think this is possible with regexs, but I'd love to be corrected. It would need to be able to look for an even number of quotes followed by a greater than sign. This would also allow the valid statement part 1"> to be distinguished from the invalid statement . David Seth Pet

Help with regular expression

2001-11-12 Thread Seth Petry-Johnson
I am trying to build a regular expression to test for valid CFSET statements in a block of text. I have it working with one small issue: if a ">" character appears on the right hand side of the equals sign, such as in then the regexp fails to match the whole string. I am only concerned with