my $str = "725-275 is an entry - and will be at 423-569 -but- not at 012-457."; $str =~ s/\d{3}-\d{3}/\d{3}\x{2014}\d{3}/g;