Hi Neil,
You can try this regex, this one is working fine for me.
isMatch($PersonalDetails/Mobile,'^(\+\d{1,3}[- ]?)(?!0+$)(?!1+$)\d{12}$')
Here you can add the country code also eg(+91,+111)
If you don’t want a country code use this one ^([- ]?)(?!0+$)(?!1+$)\d{12}$
I hope it helps
Hi Neil,
Check out the phone number regex in the below link with multiple regex formats.
^[\+]?[(]?[0-9]{3}[)]?[-\s\.]?[0-9]{3}[-\s\.]?[0-9]{4,6}$
https://ihateregex.io/expr/phone/
You can also validate your regex in the below link
Hi Neil,
Use the below regex format to check 12 digit validation.
@"^[0-9]{12}$"
Bookmarking it for future reference