Thread
:
regex (yuck)
View Single Post
#
10
(
permalink
)
08-09-2006, 01:35 AM
John
Join Date: Jul 2006
Age: 20
Posts: 3,568
Last Blog:
Tidy up your HTML
Credits:
0
Rep Power:
20
well it turns out the string was formated like so:
Quote:
Player Statistics for Delta Force - Black Hawk Down
Ozymandias.
Rank: 1-Star General ( 14 )
so this did the trick:
PHP Code:
preg_match
(
'#Down\s+(.*?)\s+Rank#'
,
$strip
,
$matches
);
John
View Public Profile
Send a private message to John
Visit John's homepage!
Find all posts by John
Sponsored Links