good thinking that man

thanks

-----Original Message-----
From: Adrian Lynch [mailto:[EMAIL PROTECTED]]
Sent: 15 August 2002 14:18
To: CF-Talk
Subject: RE: REGEX


I don't think you need a regex, although it might be faster.

Using double quotes as the delimiter, all the even numbered elements will be
the ones you want to convert. Grab these then replace all the commas.

Ade

-----Original Message-----
From: Mark Smyth [mailto:[EMAIL PROTECTED]]
Sent: 15 August 2002 14:02
To: CF-Talk
Subject: REGEX


> Anyone got a regex hanging around which would search a comma delimited
> file e.g.
> 
> 1,f,g,h,4,56,"lk,lk,re,tr,yt,",2,3,4,"er,re,tr,"
> 
> locate text within the speech marks and replace the commas with another
> character (e.g "�"), thereby producing
> 
> 1,f,g,h,4,56,"lk�k�re�tr�yt",2,3,4,"er�re�tr�"
> 
> many thanks
> Mark
> 
> Mark Smyth
> Systems Union eBusiness Solutions
> 01865 880800
> www.systemsunion.net
> 
> 


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
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