Community
    • Login

    Adding url

    Scheduled Pinned Locked Moved General Discussion
    6 Posts 3 Posters 3.7k Views
    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.
    • Frank MaximchukF
      Frank Maximchuk
      last edited by

      I need to a url in front of 10k names. I can’t figure it out.

      1 Reply Last reply Reply Quote 0
      • dailD
        dail
        last edited by

        Since you provided no context about the problem at all I doubt anyone else will be able to figure it out either. ;)

        Frank MaximchukF 1 Reply Last reply Reply Quote 0
        • Frank MaximchukF
          Frank Maximchuk @dail
          last edited by

          @dail
          add http://google.com/(different names)

          1 Reply Last reply Reply Quote 0
          • Scott SumnerS
            Scott Sumner
            last edited by

            If the existing text is one per line in your file, and it is the first or only thing on the line, it is fairly easy:

            Do a search in regular expression mode for ^
            And replace with your desired text

            If your data is not this simple, then you really need to provide more before someone can give you decent help.

            Frank MaximchukF 1 Reply Last reply Reply Quote 0
            • Frank MaximchukF
              Frank Maximchuk @Scott Sumner
              last edited by

              @Scott-Sumner
              I guess I’m not explaining this well. I apologizes.
              Lets say I have 10 thousand names and I want to add http://google.com/ in front of every one of them.
              Like:
              http://google.com/johnjones
              http://google.com/bobjones
              http://google.com/jackjones

              1 Reply Last reply Reply Quote 0
              • Scott SumnerS
                Scott Sumner
                last edited by

                So that’s very straightforward according to my previous post. Invoke the Find Dialog box (Search menu, choose Find…). With your editing cursor at the top of your file, activate the Replace tab in the Find dialog box. In the Find What Field, use the single character ^ (which means roughly search for beginning of line). In the Replace with Field, use http://google.com/. Make sure the Search Mode option is set for Regular Expression and that the Direction choice is Down. Press the Replace All button.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors