Hello
I need get the name domain name between '@' and '.' of the e-mail. Example:
[email protected]
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:
[email protected]
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])$", "[email protected]")
Someone can help me, please?
Thanks very much!