JavaScriptRestored your last edit ·
Result
Running…
Expected output
Registered 0712345678 Invalid phone: Use the format 07XXXXXXXX
Try it Yourself
Registered 0712345678 Invalid phone: Use the format 07XXXXXXXX