Regex to slice filename contain string and numerical
Posted
by justjoe
on Stack Overflow
See other posts from Stack Overflow
or by justjoe
Published on 2010-03-27T09:00:44Z
Indexed on
2010/03/27
9:03 UTC
Read the original article
Hit count: 345
hi, can anybody help me solve this :
i got
$filename= "index 198.php";
i use this and failed
preg_match(" [a-zA-Z0-9]", $filename, $output);
what kind of regex pattern i have to use so the $output array will be consist a strong>number only value.
© Stack Overflow or respective owner