Community
    • Login

    URL not understood after #!

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 3.6k Views 2 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.
    • Jorge JorhoeJ Offline
      Jorge Jorhoe
      last edited by

      When I hover over a URL in NP++, and click to go to the page, it messes up the URL after the #!


      Here are the URLs, and what they open to, right under it:

      Google Group - Lake County Liberty Coalition
      https://groups.google.com/forum/#!forum/lake-county-liberty-coalition
      https://groups.google.com/forum/#!overview

      Invite people to join the group
      https://groups.google.com/forum/?hl=en#!managemembers/lake-county-liberty-coalition/invite
      https://groups.google.com/forum/?hl=en#!overview

      Add a topic and start posting
      https://groups.google.com/forum/?hl=en#!newtopic/lake-county-liberty-coalition
      https://groups.google.com/forum/?hl=en#!overview


      Compare

      Click these URLs, and they open to the three below, respectively:
      https://groups.google.com/forum/#!forum/lake-county-liberty-coalition
      https://groups.google.com/forum/?hl=en#!managemembers/lake-county-liberty-coalition/invite
      https://groups.google.com/forum/?hl=en#!newtopic/lake-county-liberty-coalition

      https://groups.google.com/forum/#!overview
      https://groups.google.com/forum/?hl=en#!overview
      https://groups.google.com/forum/?hl=en#!overview

      1 Reply Last reply Reply Quote 0
      • guy038G Offline
        guy038
        last edited by guy038

        Hello Jorge,

        Yes, you’re right. the combination #! doesn’t work, seemingly, when used inside N++ links.

        My first idea was to change the Sharp character by the well-known syntax %nn, where nn represents the two hexadecimal digits of the ANSI or ASCII character => # = %23 That syntax didn’t work too, nor was the syntax %23%21 to simulate the two characters %! !

        Finally, the syntax, below, seems OK. When you double-click on that link, from inside N++, it does open your browser and aim to the desired site

        https://groups.google.com/forum/#%21forum/lake-county-liberty-coalition
        

        So, you just have to replace the string #! by the string #%21 in some of your links. You don’t even need a regular expression to do so :-))

        Best regards,

        guy038

        1 Reply Last reply Reply Quote 0
        • Jorge JorhoeJ Offline
          Jorge Jorhoe
          last edited by

          Got it, yes, replace the exclamation point with %21

          Are there any other characters like this?

          Couldn’t this be automated?

          1 Reply Last reply Reply Quote 0
          • Claudia FrankC Offline
            Claudia Frank
            last edited by

            @Jorge-Jorhoe

            Couldn’t this be automated?

            Yes, by recording and saving a macro.

            Cheers
            Claudia

            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