皆様いつもお世話になっております。
このような文字列がありまして、
<div class="text">人間はひとくきの葦にすぎない。自然の中で最も弱いものである。だが、それは考える葦である。 <div class="en_text">Human being is a reed of one stalk. It is the weakest existence naturally. However , it is a thinking reed .</div> </div>
phpを使ってこの部分だけを除外したいのですが、
<div class="en_text">Human being is a reed of one stalk. It is the weakest existence naturally. However , it is a thinking reed .</div>
正規表現ジェネレーターで粘ったのですが、自分で正しい正規表現が書けませんでした。
どうか皆様のお知恵を拝借して、上記を除外できる正規表現を教えて頂けないでしょうか?
よろしくお願いします。
回答2件
あなたの回答
tips
プレビュー