Usually the easiest thing is to replace characters
Such as: str_replace("#", "-", "dizaz#7#final"),
The more advanced thing is to save data and replace it.
str_replace(array('#', '$'), "-", "dizaz#7$final"), etc., these are the calling methods,
The other methods are the simplest in the php tutorial, and the other is to replace data with arrays
str_repace( array(1,2,3,4,5),'',array(6,7,8,9,10));
This is the replacement function.
$object = "dizaz#7#final";
$res = str_replace("#", "-", $object);
echo $res;