Remove dollar sign from string

$val = preg_replace('/$/', '', $val);



$val = preg_replace('/&.*?;/', '', $val);