Hello
I need get the name domain name between '@' and '.' of the e-mail. Example:
store@domainname.com
Result: domainname
I try one regx, but not have successful.
I don't Known use the regex:
Someone can help me, please?
Thanks very much!
I need get the name domain name between '@' and '.' of the e-mail. Example:
store@domainname.com
Result: domainname
I try one regx, but not have successful.
I don't Known use the regex:
Regex.Matcher("^(?i)[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])$", "store@domainname.com")
Someone can help me, please?
Thanks very much!