たとえば、2つの文字列を一致させ、一致文字列の後に改行を追加する必要があります
$string1="<p>he adventures of adolescence had taught Piet Barol that he</p>";
$matching_with_string="he adventures
of adolescence had
taught Piet Barol
that he";
文字列 1 が必要です。出力は文字列と同じになります
$matching_with_string
誰かが私を助けることができます!