Community
    • Login

    Adding a textstring to different urls

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.7k 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.
    • dario33D Offline
      dario33
      last edited by dario33

      Dear community, i have following probs:

      1. I have a large column with webadresses in this kind (example):

      https://www.webadress.com/directory1/prodirectory1/adapro/
      https://www.webadress.com/directory1/prodirectory1/admipt/
      https://www.webadress.com/directory1/prodirectory1/arasio/
      https://www.webadress.com/directory1/prodirectory1/atrent/
      https://www.webadress.com/directory1/prodirectory1/artre/
      https://www.webadress.com/directory1/prodirectory1/ballyer/
      …
      …
      …

      Now i need these all with the addition ‘webtext_preview.html’ , so that it looks like that:

      https://www.webadress.com/directory1/prodirectory1/adapro/webtext_preview.html
      https://www.webadress.com/directory1/prodirectory1/admipt/webtext_preview.html
      https://www.webadress.com/directory1/prodirectory1/arasio/webtext_preview.html
      https://www.webadress.com/directory1/prodirectory1/atrent/webtext_preview.html
      https://www.webadress.com/directory1/prodirectory1/artre/webtext_preview.html
      https://www.webadress.com/directory1/prodirectory1/ballyer/webtext_preview.html
      …
      …
      …

      1. Is it possible to open a webadress or a column of webadresses (like above) in IE
        directly out of Notepad++?

      How can i manage this - can you help me please? TIA!

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

        1. in Search&Replace activate “Regular Expressions”. Make sure “. matches \r and \n” is NOT checked. Search for “^(.*/)$”. Replace with “\1webtext_preview.html”

        2. In Options->Preferences->Misc. make sure “Clickable Links” is activated. If you just activated the Option, reload your file. A double click on a Link will open it in your default browser. But note that this Option will slow down loading of large files, so you may want to only activate this when needed.

        1 Reply Last reply Reply Quote 2
        • dario33D Offline
          dario33
          last edited by

          Hi gerdb42, this works PERFECT - thank you sooo much for your effort!!

          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