lundi 17 mai 2021

Verfiy the same input string is mobile number or email address In ruby

For example, I am getting the Input

params[::email_or_mobile]

How can I verify the number is an email or mobile number The input params maybe sample@gmail.com or +91987778989

Aucun commentaire:

Enregistrer un commentaire