Implement phone number validation directive