Re: [PHP] reg-ex again

2002-04-29 Thread Jason Wong
On Monday 29 April 2002 15:22, John Fishworld wrote: > I'm trying to find files in my array > for example > ="lg_imode.gif" > and > ="/db/imodeklein/edgar-IMODE-1-.gif" > > I want to differentiate between the files with slash at the front and ones > without so that > I can add a server path ! > bu

[PHP] reg-ex again

2002-04-29 Thread John Fishworld
I'm trying to find files in my array for example ="lg_imode.gif" and ="/db/imodeklein/edgar-IMODE-1-.gif" I want to differentiate between the files with slash at the front and ones without so that I can add a server path ! but as usual I' m having problems with the correct regex At the moment I'