- html_entity_decode: documentation ( source)
- preg_replace: documentation ( source)
<?php
$dd = "Balen\u00ed<\/span>Metry<\/span>";
echo preg_replace('/\\\\x([0-9a-f]{2})/e', 'chr(hexdec(\'$1\'))', $dd);
echo html_entity_decode($dd, ENT_NOQUOTES, 'UTF-8');