Hi, I wrote a regex to check a phone number format in my view-model but it always raises an error no matter how the number looks like.
I want it to be in either of these 2 formats
05XXXXXXXXX
02XXXXXXXXX
[DataType(DataType.PhoneNumber)]...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.