print $string =~ s/_/ /g; #### $matches = $string =~ s/_/ /g; print $matches;