Quote:
You can do this with just a Trigger rule that uses a Regex to look for ###-###-#### and then have the Trigger do a text replace on the hyphen. I've attached a screenshot for reference.
The RegEx is
This part
says look for 3 digits followed by a hyphen, and do it twice.
This part
\d{4} says look for 4 digits
Hope that helps!