![]() |
|
|
+ Search |
![]()
|
Feb 14th, 2002 09:59
Ben Udall, Arman Galstyan,
// A sample url
$url = "c1234s.html";
ereg("c([0-9]+)s\\.html", $url, $m);
$num = $m[1];
// $num now contains the number between the c and s.html