正規表現のパターンを試しましたが、まだ解決策が見つかっていません。"<< >>"文字列の単語を見つけるには
<< >>
単語を次の文字列から取得します。
$string = "Yes! Bariatric surgery is covered under your plan. Click <<COMPANY>> here to contact a local surgeon and ask them to confirm your insurance benefits for free. See our <<INSURANCE>> page for coverage criteria or scroll down this page to learn more.";
$dash = substr($string,strpos($string,"<<"),strpos($string,">>"));
誰かが私を助けてください。
ありがとうございました。
OK、との言葉を一致させるのだろうか? – Kasramvd
あなたの質問をあなたのコードで更新し、出力に何が問題なのかを説明してください。 – Kasramvd
私の解決策を見つけました... – user3374268