I need to extract the email address out of this mailbox string.
I thought of str_replace but the display name and the email address is not static so I don’t kno
but i have a sneaking suspicion you need something better than that. There are a ton of "official" email regex patterns out there, and you should be a bit more specific about the context and rules of the match.