Reputation: 2290
I have email addresses with a subdomain and I want to get the subdomain of the email address. I have tried a few things, but they are not working. Some things include the @
which I don't need. So, basically, I want to get email@subdomain.domain.com.
Here is what I have that is including the @
:
/([@])\w+/
Upvotes: 0
Views: 76