Break a string without losing html tags in PHP

$pos = strpos(preg_replace(‘/<.*?>/’, ”, $text), ‘Find Word’); $page_body = _html_substr($text,$pos);

Read more