Update— I am using this regex
^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$
source: Email regex JavaScript Validation (Regular Expression ) | Example code
I simply removed the leading and trailing forward slash from the example and then applied this to the email input and if the extract with regex count >= 1 then I know it’s a correctly formatted email. So far so good…