$hexadecimalStr = '\xF0\x9F\x8D\x81WHexadecimal';
$filterStr = preg_replace('/\\\/', '', $hexadecimalStr);
$filterStr = preg_replace('/[Xx][A-Fa-f0-9]{2}/', '', $hexadecimalStr);
echo $filterStr;
> Hexadecimal