Re: RegEx to find a date in a string

2007-05-03 Thread Web Specialist
e the fact that each 'part' is > correct so you will not get a month of 14 or a day of 45. > > > Hi all > > > > I'm parsing an HTML page with CFHTTP and need to find and get a date > > inside > > that.

RE: RegEx to find a date in a string

2007-05-03 Thread Andy Matthews
Good point Michael...thanks for the clarification. -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 8:24 AM To: CF-Talk Subject: Re: RegEx to find a date in a string I'd be hesitant to use {1,} as the modifier as it is totally open

Re: RegEx to find a date in a string

2007-05-03 Thread Michael Dinowitz
]{1,}\.0 > > Is one way > > -Original Message- > From: Web Specialist [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 03, 2007 7:52 AM > To: CF-Talk > Subject: RegEx to find a date in a string > > Hi all > > I'm parsing an HTML page with CFHTTP and nee

RE: RegEx to find a date in a string

2007-05-03 Thread Andy Matthews
By the way... Mine allows for 1 digit months, days, hours, minutes and seconds using {1,}. That basically says 1 or more. -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 8:10 AM To: CF-Talk Subject: RE: RegEx to find a date in a string [0-9

Re: RegEx to find a date in a string

2007-05-03 Thread Rob Wilkerson
ters and not part of some greater string (which may or may not apply). On 5/3/07, Web Specialist <[EMAIL PROTECTED]> wrote: > Hi all > > I'm parsing an HTML page with CFHTTP and need to find and get a date inside > that. Do you know any regex to find a date in

RE: RegEx to find a date in a string

2007-05-03 Thread Andy Matthews
[0-9]{4}-[0-9]{1,}-[0-9]{1,} [0-9]{1,}:[0-9]{1,}:[0-9]{1,}\.0 Is one way -Original Message- From: Web Specialist [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 7:52 AM To: CF-Talk Subject: RegEx to find a date in a string Hi all I'm parsing an HTML page with CFHTTP and ne

Re: RegEx to find a date in a string

2007-05-03 Thread Michael Dinowitz
and then a single number. A smarter one would be written to evaluate the fact that each 'part' is correct so you will not get a month of 14 or a day of 45. > Hi all > > I'm parsing an HTML page with CFHTTP and need to find and get a date > inside > that. Do you know a

RegEx to find a date in a string

2007-05-03 Thread Web Specialist
Hi all I'm parsing an HTML page with CFHTTP and need to find and get a date inside that. Do you know any regex to find a date in a string like this Date: 2007-05-03 08:11:29.0 ~| Macromedia ColdFusion MX7 Upgrade t