Ok I need a regex savvy user to help me out with an expression I need. I need to make an expression that fits the following rule for my email filter. * stands for wildcard here.
"*.*@*.*"
Basically, I want to separate any email that has a "." in the left side of the address from every other email. So an email addressed to "asdf.jkl@domain.com", "asdf.@domain.com", and ".asdf@domain.com" will get flagged, but not "asdf@domain.com".
I just learned about regex expressions and am having trouble. Here's what I have so far:
[a-zA-Z0-9_%-]\.[a-zA-Z0-9_%-]@domain.com
This rule isn't working though, it's tagging all emails as valid. My question is how do I force it to select only those addresses that have a "." in there. I've tried using the "+" to do this, but no luck, or at least I'm not using it correctly I think.
Anyone got any tips?
"*.*@*.*"
Basically, I want to separate any email that has a "." in the left side of the address from every other email. So an email addressed to "asdf.jkl@domain.com", "asdf.@domain.com", and ".asdf@domain.com" will get flagged, but not "asdf@domain.com".
I just learned about regex expressions and am having trouble. Here's what I have so far:
[a-zA-Z0-9_%-]\.[a-zA-Z0-9_%-]@domain.com
This rule isn't working though, it's tagging all emails as valid. My question is how do I force it to select only those addresses that have a "." in there. I've tried using the "+" to do this, but no luck, or at least I'm not using it correctly I think.
Anyone got any tips?