Sorry to re-open an old thread, but I thought this would be a good place
to post this question:How would I include additional entries into this
script to convert to the same end result? Specifically 123-456-7890 and
123.456.7890. I've tried inserting another if statement with
/^\d{3}\-\d{3}\-\d{4}$/; as the variable, but i always seem to break
something else.I'm pretty new at this and have been trying for quite a
few hours.