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 after the last forward slash, like
album_121-2132_IMG.JPG

 

Thanks,

Ryan

Reply via email to