Start a new topic

RegEx help - Remove last half of email address

Hi,

I need some RegEx help.  We have incoming email addresses and I want to remove the entire string that begins with @. 

For example, my.email1@abc.com would become my.email1. Or emailname@abc.com would be emailname.

Can anyone help?

 

Thanks,
Rachel

 

 


Ah! Got it:

Replacement Value: -- BLANK --
Value to match on: ([@]\S+).*
RegEx Level: Ninja!
Login or Signup to post a comment