Question : dart regex for email
Answered by : john-james
var email = "[email protected]"
bool emailValid = RegExp(r"^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+\.[a-zA-Z]+").hasMatch(email);
Source : https://stackoverflow.com/questions/16800540/validate-email-address-in-dart | Last Update : Tue, 19 May 20
Question : email validation regex in flutter
Answered by : helpless-hoopoe-cr1q40asmsde
var email = "[email protected]"
bool emailValid = RegExp(r"^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+\.[a-zA-Z]+").hasMatch(email);
Source : https://stackoverflow.com/questions/16800540/validate-email-address-in-dart | Last Update : Mon, 08 Feb 21