Thanks I cracked it like this:
//TEST TO REMOVE THE KNOWN "BAD TAGS"
//(Maybe turn this into a function sooner or later.)
$match = preg_replace("/<media:thumbnail([^`]*?)\/>/", "", $match);
$match = preg_replace("/<dc:date([^`]*?)<\/dc:date>/", " ", $match);
$match = preg_replace("/<dc:creator([^`]*?)<\/dc:creator>/", " ", $match);
$match = preg_replace("/<dc:type([^`]*?)<\/dc:type>/", " ", $match);
//Right now look for the searched word and write to the file if found.
preg_match ("/<item>([^`]*?)<\/item>/", $match, $temp);
$item = $temp['1'];
$item = trim($item);
$regexp = "/\b.".$searchWord."\b/i";
if (preg_match($regexp, $item)) {
if (!($item == ''))
{
// append item tags to content we want to add
$item = "<item>\n".$item."\n\t\t</item>\n";
$found++;
}//end if
Thanks for all your input, appreciated!!!