I want to get everything between og": and ,
$array = og":EVERYTHING,"pt":"balbalbeb; preg_replace('(?<=\:)(.*?)(?=\,)', '', $array); $newarray = 'EVERTHING';
i tried this but not working