04-21-2008, 03:48 AM
|
#2 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
I'm not sure if this is exactly what you were looking for, but I would do something like this, maybe;
PHP Code:
$szExplode = preg_replace("/(first match)(second match)(so on)/", "$1|$2|$3", $szString); $aExplode = explode("|", $szExplode);
And now you have an array full of your matches. If I understood the question right?
-m
|
|
|
|