[PHP] Help with eregi

2004-06-22 Thread Ryan Schefke
Could someone please help me with an eregi statement. I have a string that can vary as such: client1/album/album_121-2132_IMG.JPG client2/album/album_121-2132_IMG.JPG client59/album/album_121-2132_IMG.JPG client499887/album/album_121-2132_IMG.JPG I want to select whatever comes

Re: [PHP] Help with eregi

2004-06-22 Thread Robin Vickery
On Tue, 22 Jun 2004 14:57:28 -0400, Ryan Schefke [EMAIL PROTECTED] wrote: Could someone please help me with an eregi statement. I have a string that can vary as such: client1/album/album_121-2132_IMG.JPG client2/album/album_121-2132_IMG.JPG client59/album/album_121-2132_IMG.JPG

Re: [PHP] Help with eregi

2004-06-22 Thread Tom Z. Meinlschmidt
On Tue, Jun 22, 2004 at 10:08:37PM +0300 Robin Vickery [EMAIL PROTECTED] wrote: On Tue, 22 Jun 2004 14:57:28 -0400, Ryan Schefke [EMAIL PROTECTED] wrote: Could someone please help me with an eregi statement. I have a string that can vary as such:

Re: [PHP] Help with eregi

2004-06-22 Thread Matt Matijevich
[snip] client1/album/album_121-2132_IMG.JPG client2/album/album_121-2132_IMG.JPG client59/album/album_121-2132_IMG.JPG client499887/album/album_121-2132_IMG.JPG I want to select whatever comes after the last forward slash, like album_121-2132_IMG.JPG [/snip] you could try without regular

Re: [PHP] Help with eregi

2004-06-22 Thread Curt Zirzow
* Thus wrote Tom Z. Meinlschmidt: On Tue, Jun 22, 2004 at 10:08:37PM +0300 Robin Vickery [EMAIL PROTECTED] wrote: On Tue, 22 Jun 2004 14:57:28 -0400, Ryan Schefke [EMAIL PROTECTED] wrote: Could someone please help me with an eregi statement. I have a string that can vary as such: