Wow, I just tried that to make sure it worked, and it gave me 100%
server utilization :)

This way works, I just tried it.

ReReplace(string,"(.*2002)","<br>")

______________________
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-----Original Message-----
From: Steve Oliver [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 11:21 AM
To: CF-Talk
Subject: RE: more on regex question...


Oops, make that 2002 (living in the past) heh

ReReplaceNoCase(cfhttp.fileContent, "(.*?)*2002", "<br>")
Or
ReReplaceNoCase(cfhttp.fileContent, "(.*?)+2002", "<br>")

______________________
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-----Original Message-----
From: Steve Oliver [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 11:19 AM
To: CF-Talk
Subject: RE: more on regex question...


Since the beginning will be garbled html, try this.

ReReplaceNoCase(cfhttp.fileContent, "(.*?)*2000", "<br>")
Or
ReReplaceNoCase(cfhttp.fileContent, "(.*?)+2000", "<br>")

______________________
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-----Original Message-----
From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 11:06 AM
To: CF-Talk
Subject: more on regex question...


Tuesday, January 29, 2002, 10:59:49 AM
Hello cf-talk,

  cfhttp url = "http://met-www.cit.cornell.edu/cgi-bin/fcst?NH004

  I've tried:

  reReplacenocase(cfhttp.fileContent, "/\w*\W*2002$/", "<br>")

  and

  ReplaceNoCase(cfhttp.fileContent, "[ a-zA-Z0-9]+2002", "<br>")

  Neither even touches the string!

  I'm resorting to replacing each word, and checking to see if they
  add more words so I can add them to the list. Eventually, I'll get
  all the counties.

  If anyone else can take a shot at replacing any and all characters
  before and including the 2002, give it a go. And thank you.

  Otherwise, I'll just keep filtering each word out as I see them.


Best regards,
 Jeff Fongemie                          mailto:[EMAIL PROTECTED]



______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to