04-21-2008, 04:15 AM
|
#3 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Quote:
Originally Posted by delayedinsanity
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
|
GAH, so simple a cave man can do it. >.< I'm sorry, but that was too simple, and I'm ranging myself to advanced, I guess I need to press harder into it. -_-
__________________
VillageIdiot can have my babbies ;d
|
|
|
|