3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'небезнадёжен 😂🤓:https://vk.c'; $string = preg_replace('/[\x{1F600}-\x{1F64F}\x{1F300}-\x{1F5FF}\x{1F680}-\x{1F6FF}\x{2600}-\x{26FF}\x{2700}-\x{27BF}]+/u', '', $string); var_dump($string);
based on kaR9t
Output for 5.5.0 - 7.3.0beta1
string(42) "небезнадёжен 🤓:https://vk.c"