I want to match any email address that contains at least one . (period) before the @ sign. Letters have already been verified, so regular expression just needs to be searched . .
I tried
Regex emailMatcher = new Regex(@"^[a-zA-Z\.']{1,}\.[a-zA-Z\.']{1,}@example\.com$");
But I know that emails can contain more characters than just a-zA-Z\.' therefore it will not cover all cases.
Any ideas on how to do this?
thanks
EDIT: I'm not trying to check emails, I already have verified emails, I just need to select emails containing . before @ sign
Examples to pass:
first.last@example.com first.middle.last@example.com
Examples that should pass but will not pass using the current current regular expression
first.last(comment)@example.com
source share