Convert an email to a URL using a wildcard

  • I have a list of 500 emails.
    I want to create a list of the web domains for these emails.
    I would like to find the wildcard “@” and then trim all the characters before the “@” and also the “@” sign and then replace them with “www.”

    Is there an easy way to do this ?

  • Sure:

    • Go to Search->Replace
    • Search for ^.+@(.+)$
    • Replace with www.\1
    • Select Regular Expressions (Make sure “. matches \r and \n” is not selected)
    • Klick “Replace all”

Log in to reply