<?php
 
$str = "&\#13;";
 
echo str_replace("&\\#13;", "hello", $str);