|
|
|
| Для меня регэкспы тёмный лес... Где можно популярно прочитать про все эти {}*%^ ... ?
По теме:
<a href=index.php?a=picture&pic=10911210210610510610106405606106405 7118125117 target=new>
|
Нужно получить 10911210210610510610106405606106404 7118125117.
Заранее спасибо! | |
|
|
|
|
|
|
|
для: TrunK
(13.06.2006 в 22:45)
| | Наверное так...
<?php
$contents = "<a href=index.php?a=picture&pic=10911210210610510610106405606106405 7118125117 target=new>";
$pattern = "([\d\s]+[\d])";
preg_match($pattern, $contents, $out);
echo $out[0];
?>
|
| |
|
|
|