How do I extract 9 consecutive numbers from URLs like the following:
The desired extraction is 312720263.
Will the following work?
Thanks.
The desired extraction is 312720263.
Will the following work?
Code:
<?
preg_match('/([0-9]{9})/', $alphanum, $matches);
$sequence = $matches[1];
?>
Comment