search ##TITLE_LOCATION## (you can use POSIX regex)

Subject<\/em>: ([^<]*)<\/li>[\S\s]+From<\/em>: ([^<]*)<\/li>[\S\s]+Date<\/em>: ([^<]*)<\/li>/',$content,($matches))) { $html[]="

  • $matches[1], $matches[2], $matches[3]
  • "; } } if (count($html)==2) { echo "No results!"; } else { if (count($output)>$maxresults) { echo "The first $maxresults results of ".count($output).":
    "; } else { echo count($html)." results:"; } echo "
      ".implode($html)."
    "; } ?>