How to Remove Bulk Dynamic Date Format in PHP?
i have the following text, and i want to remove any sentence that contains keywords representing calendar month. For example, here is the original text to be processed:
$mysent = 'Jul 2, 2014 . I went to special place. Aug 30, 2015 . We went to Paris.';
I try to 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;