my $transcript=q|tom t-Dick -Harry|; my @analysts= $transcript=~/([^-]+)-?/g; print qq|=$_=\n| for @analysts; #### =tom t= =Dick = =Harry= #### my @a= $transcript=~/\s*([^-]+\w)\s*-?/g