I have a UITextField that accepts a phone number i want to validate it if that is an american formatted phone number. i know that in swift you have an out of the box fix for that ?
do you know of a regex or a way fo validate that that can work on swift 4 ?