regexEmail top-level constant

String const regexEmail

Regex to check if text is email.

Implementation

const regexEmail = r'[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}';