Enforcing regex validation on phone number.