Contains Method For Email In Flutter

[Solved] Contains Method For Email In Flutter | Ruby - Code Explorer | yomemimo.com
Question : contains method for email in flutter

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

Answers related to contains method for email in flutter

Code Explorer Popular Question For Ruby