[Gllug] OT: Regular Expression Help Needed Please

Garry Heaton garry at heaton6.freeserve.co.uk
Thu Oct 7 15:10:46 UTC 2004


Mike Leigh wrote:

> Thanks
> 
> I will attempt to convert to php syntax and see what I can come up with
> 
> Mike

Correction:

$line =~ s/"([^,"]*)[,([^,"]*)]+"/"$1$2"/g;

Garry

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list