I want to parse out email addresses from a string in PowerShell.
For example, given:
$email = "take this email [email protected]"
$email2 = "[email protected]"
$email3 = "[email protected] needs extracted"
I would get:
[email protected]
[email protected]
[email protected]
The domain is the same among all these strings, it will always be an [email protected] address.
Any help is appreciated!