View Single Post
Old 09-18-2002, 08:02 AM   #2 (permalink)
sdeming
Code Monkey
 
Join Date: Jul 2002
Location: Michigan
Posts: 85
sdeming is on a distinguished road
preg_replace is probably overkill for extracting such uniform fields, so I would recommend using something like this:
PHP Code:
$newArray[]=substr(strstr($each' '), 1); 
Or using explode:
PHP Code:
$parts explode(" "$each);
$newArray[] = $parts[1]; 
__________________
Scott
B4 09 BA 09 01 CD 21 CD 20 53 63 6F 74 74 24
sdeming is offline   Reply With Quote