View Single Post
Old 04-21-2008, 04:15 AM   #3 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Quote:
Originally Posted by delayedinsanity View Post
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
Orc is offline  
Reply With Quote