>- see footer for list info -< Tried that and it replaced all instances of the numbers rather than the other way round, glad to see my logic was not that wayward though.
Lee Fortnam [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Horn Sent: 28 February 2006 17:33 To: Coldfusion Development Subject: Re: [CF-Dev] RegEx to leave only numbers >- see footer for list info -< Lee Fortnam wrote: >> - see footer for list info -< > Hi Guys, > > Been looking at REReplaceNoCase to remove all chars which are not 0-9, i.e. > for a telephone number, currently have the following: > > REReplace ("(07976) 752-137","[-,(,),+, ]","","ALL") or the inverse of > REReplace ("(07976) 752-137","[[:digit:]]","","ALL") if one exists???? > > Any guidance would be appreciated as this is my first time with RegEx. [0-9]? I cant remember it exactly tho but that rings a bell -- ^/*^/*^/*^/*^/*^/*^/*^/*^/*^/*^/*^/* Matt Horn Assistant Director Creative Vision [EMAIL PROTECTED] www.creative-vision.co.za +2711 465 - 3855 ^/*^/*^/*^/*^/*^/*^/*^/*^/*^/*^/*^/* _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help >-< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
