Thanks a lot for the info, I've been delving into it and it's exactly what I need, but I'm having a real hard time matching the patterns. I've been doing some reading on pattern modifiers but am really confused. How would I grab the item name and Edged rating if the output were like this:
Item Name
-=-=-=- Worn Armour Evaluation -=-=-=-
Edged: Rating
I need to assign 'Item name' to the $name variable, and 'Rating' to the variable $edged. So far I've got:
PHP Code:
preg_match("/^(?)Edged:(?)^/", $description, $matches);
$name = $matches[1];
$edged = $matches[2];
As you can see I am completely stumped on the syntax of pattern modifiers. Could anyone please help?
Bookmarks