The regular expression in question is
(\\d{3,4}[.-]?)+
sample text
707-7019-789
My progress so far
[.-]?
What this means literally:
[.-]
.
-
?