I need some help with a regular expression that will validate phone numbers like the following 3 examples:
054238852
054 238 852
054-238-852
The first two are validated by using this regular expression /^\d+(\s\d+)*$/
for the third, I can't figure out how to modify the regular expression in order to work for all 3 exampels.
Thanks!