i have sentences this, and i want every sentence which found by date format will be removed
$mysent = 'Jul 2, 2014 . I went to special place. Aug 30, 2015 . We went to Paris.';
I try use this array :
$sasi = array('Jan ','Feb ','Mar ','Apr ','May ','Jun ','Jul ','Aug ','Sep ','Oct ','Nov ','Dec ');
$angka = range(1,2015);
$bulan = $sasi.$angka.", ".$angka;
$contoh = str_replace($bulan,'',$contoh);
echo $contoh;
but the date format didn't removed, help me, thank