Try

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

Not sure how to broaden this to include symbols (?</;'@) etc..new to regex
myself
HTH

Kola Oyedeji
Web developer
Macromedia Certified Advanced ColdFusion 5 Developer
ekeda ltd
http://www.ekeda.co.uk
(+44)020-8429-7300


> -----Original Message-----
> From: Jeff Fongemie [mailto:[EMAIL PROTECTED]]
> Sent: 29 January 2002 14:44
> To: CF-Talk
> Subject: Regex question.
>
>
> Tuesday, January 29, 2002, 9:34:58 AM
> Hello CF-Talk,
>
>   I'm using the replacelist function to alter a string.
>
>   I'm altering a weather forcast that gives this absurdly long list of
>   counties before the actual forecast.
>
>   So, I would like to do something like:
>
>  Replace(cfhttp.fileContent, "everything that comes before and
>  including 2002", "<br>")
>
>  I'm trying all sorts of things, but nothing seems to be picking up
>  the *2002 part.
>
>
>
>
>
> Best regards,
>  Jeff Fongemie                          mailto:[EMAIL PROTECTED]
> 
______________________________________________________________________
Why Share?
  Dedicated Win 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=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to