^[a-zA-Z]\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,4}$
i had tried this regex for email but it allow following cases
- 123@mail.com
- example.mail@mail.com
^[a-zA-Z]\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,4}$
i had tried this regex for email but it allow following cases
 
    
    Here is the code which searches for the number at the start. If number is matched it prints message in console.
let regex = /^[0-9]/;
let object = [{email:'123@mail.com'},{email:'example.mail@mail.com'}];
for(let i =0;i<object.length;i++){
  if(object[i].email.match(regex)){
    console.log('E-mail  ',object[i].email,' is not valid.')
  }
}This is the used regex: ^[0-9]
