Community

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

    Adding a textstring to different urls

    Help wanted · · · – – – · · ·
    2
    3
    2159
    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.
    • dario33
      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
      • gerdb42
        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
        • dario33
          dario33 last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors