Hello, can you advise me how I would best validate such a phone number format as best I can? +421915490545
area code +421 and then 10 numbers. I'm using a request validator and I've tried it with regey, but I can't
@johny-22 The best way is to send the phone number to a service like Twilio for validation, who will then return the phone number in both the E.164 format, as well as the “local” formatted version.
Don’t try and write a regular expression yourself because there are a multitude of ways a user can input a phone number and I can guarantee your regular expression won’t match all of them.