we want to ensure phone numbers are only entered in the correct formats without alpha characters and 10 digits only. i had created an action configuration to discover IPAs did not process correctly because it believed phone numbers with hyphens were not in the correct format. how do we write an action configuration to allow only digits? also question - what is the best way to configure this field to never allow alpha characters to be entered and only standard US phone numbers? here is a sample of my configuration i had believed to work but not allowing our process flows to complete for numbers like 123-45-6789 only wanted 123456789
AddTelephonePagerOrFaxNumber is an ActionOverride
effective date required
Exit Rules
constraint (ContactDetail.Telephone.SubscriberNumber matches "d{10}")
"Phone_number_should_be_10_digits."
curious to know if anyone else has put measures in place to prevent alpha characters. Thanks for looking