How to match text
$line = "study of 557 adults suffering from sleep";
from
$content = "The International Journal of Nursing published a
<b>study of 557 adults suffering</b>
<br>
<b>from sleep</b>
disorders. In this study, music was played when they ...";
and somtimes the content can be
$content = "The International Journal of Nursing published a
<b>study of 557 adults suffering from sleep</b>
disorders. In this study, music was played when they ...";
so i need one solution that can be applicable on both
preg_match("#<b>$line</b>#is",$content,$match);