I would like to get everything after and before the @ in a string. For example, the string:
foo user@google.com foo
,
I would like to get the whole string before @ and after the @. Thank you in advance
I want to get user@google.com
, and remove foo and foo from the string using the @