$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 ...";
匹配文本
$line = "study of 557 adults suffering from sleep";
和somtimes内容可以
$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 ...";
,所以我需要一个解决方案可适用于
preg_match("#<b>$line</b>#is",$content,$match);
因此,你想在所有的大胆标签之间? – Andreas
查看相关的问题 – Jelmergu
我想在两个$内容中匹配$ line与单个解决方案 –