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