1
$string="18 Mar 2013 <b>...</b> And this is exactly what is sparking the resurgence of long-tail <br>  <b>keyword</b> targeting in <b>SEO</b>. I've observed this trend among both young <b>...</b>"
$string="May be <b>google</b> not considering Meta <b>keywords</b> for his searching, but meta <br>  descriptions play a vital role in your <b>SEO</b> practices,even including <b>...</b>"
$string="7 Jun 2010 <b>...</b> Picking <b>SEO Keywords</b>: Using <b>Google's</b> Wonder Wheel. This is in my opinion the <br>  best little secret of everyone's favorite search engine: the <b>...</b>"
$string="For search engine marketers -- and the companies who depend on them -- things <br>  just got a little tougher. <b>SEO</b> companies, most still reeling <b>...</b>"

$clean_string = preg_replace("need this here remove date regex syntax", "", $string);

正規表現または小さなコードが必要です。上記のサンプル コードを参照してください。テキストの先頭にある日付を削除します。テキストと日付を変更するのと同じではありません。テキストの冒頭にある例のように、私は日付を記入しません。友達を助けるために事前に感謝します

4

1 に答える 1