Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Convert an email to a URL using a wildcard

    Help wanted · · · – – – · · ·
    2
    2
    1667
    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 Iseghem
      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
      • gerdb42
        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
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors