$newlist=str_replace("_"," ",$list);
The example above searches the "$list" string and replaces any "_" with a blank space " ".