Home  |  Linux  | Mysql  | PHP  | XML
From:Michael Kochendoerfer Date:Tue Oct 14 02:39:25 2003
Subject:Expression needed!
Can someone help please? I need an expression to use for eregi() that 
matches following strings (examples):

01.jpg, 02.jpg, 15.jpg, 68.jpg, u01.jpg, u34.jpg

In fact, it should match all nn.JPG and Unn.JPG (where u is a literal and 
nn is a two-digit number - .JPG is a literal, too).

Thanks for supporting a newbie *g

- Michael
Navigate in group php.lang at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by Zareef Ahmed
Powered By PHP Consultants