Community
    • Login

    Convert an email to a URL using a wildcard

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 2.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Kerry Van IseghemK Offline
      Kerry Van Iseghem
      last edited by

      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 ?
      Thanks
      Kerry

      1 Reply Last reply Reply Quote 0
      • gerdb42G Offline
        gerdb42
        last edited by

        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”
        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors