how to do email validation using regular expression in typescript

Solutions on MaxInterview for how to do email validation using regular expression in typescript by the best coders in the world

showing results for - "how to do email validation using regular expression in typescript"
Yannick
11 Jun 2016
1regexp = new RegExp(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);