Does anyone know to strip the emoticons from instagram captions? I subscribe to their api for feeding certain photo types and display them on my website. I tried used the command below in PHP to strip out emoticons with no success.
$newcaption = preg_replace('/[^a-zA-Z0-9 \.]/s', '', $caption);
Does anyone know how to get rid of instagram emoticons using PHP? I have no idea what their ascii character set is.