I am needing to strip a portion out of email's. I have a list of email addresses where some of them contain -priv before the @ that I need stripped out leaving what would be the "normal" email address.
I want to be left with email@example.com
can someone help me with the rex for this?
Thank you, I should add that I have since noticed that there are email addresses that have an appropriate need to have - in them.
so I really need to only strip emails that have -priv in them, not any email that contains a - from the - to @