• Login
Community
  • Login

URL not understood after #!

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 3.1k 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.
  • J
    Jorge Jorhoe
    last edited by Sep 27, 2015, 2:53 PM

    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
    • G
      guy038
      last edited by guy038 Sep 27, 2015, 4:55 PM Sep 27, 2015, 4:53 PM

      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
      • J
        Jorge Jorhoe
        last edited by Nov 30, 2015, 8:59 PM

        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
        • C
          Claudia Frank
          last edited by Nov 30, 2015, 9:51 PM

          @Jorge-Jorhoe

          Couldn’t this be automated?

          Yes, by recording and saving a macro.

          Cheers
          Claudia

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