• Categories
    • Categories
    • Announcements
    • FAQ
    • General Discussion
    • Help wanted · · · – – – · · ·
    • Notepad++ & Plugin Development
    • Security
    • Translation
    • Boycott Notepad++
    • Blogs
    • Humour
  • Recent
  • Popular
  • Login
Community
  • Categories
    • Categories
    • Announcements
    • FAQ
    • General Discussion
    • Help wanted · · · – – – · · ·
    • Notepad++ & Plugin Development
    • Security
    • Translation
    • Boycott Notepad++
    • Blogs
    • Humour
  • Recent
  • Popular
  • Login

remove hyperlink

Scheduled Pinned Locked Moved General Discussion
35 Posts 12 Posters 30.8k 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.
  • cisco779kC
    cisco779k
    last edited by Jan 5, 2020, 5:24 PM

    how to remove all hyperlink on document?
    i’ve see how to disable (Settings - Preferences - MISC - uncheck Clickable Link Settings) …
    but remove all hyperlink it is possible??

    1 Reply Last reply Reply Quote 0
    • Alan KilbornA
      Alan Kilborn
      last edited by Jan 5, 2020, 10:39 PM

      Interestingly, when I experiment with this, I tick the box for No underline, but the underlines remain??

      1 Reply Last reply Reply Quote 0
      • cisco779kC
        cisco779k
        last edited by Jan 5, 2020, 11:18 PM

        uncheck No underlines then reboot notepad.
        this work. problem is how to convert link to normal text…

        Alan KilbornA 1 Reply Last reply Jan 6, 2020, 4:43 AM Reply Quote 0
        • Alan KilbornA
          Alan Kilborn @cisco779k
          last edited by Jan 6, 2020, 4:43 AM

          @cisco779k said in remove hyperlink:

          problem is how to convert link to normal text…

          If you are editing a “text file” (which you should be, as Notepad++ is a text editor and only a text editor), then any such “link” is already “normal text”.

          If this doesn’t make sense, perhaps provide more detail from your side, in case there is some unknown or implied thing which isn’t making it thru to this side. :-)

          1 Reply Last reply Reply Quote 0
          • cisco779kC
            cisco779k
            last edited by Jan 6, 2020, 6:12 AM

            yes, it is a text file copied from an html page.
            I would like only plain text, without hyperlinks!
            now my txt is on Unix (LF) mode UTF-8 but also converted in windows (CR-LF) ANSI nothing change…
            repeat: how to convert hyperlinks on plain text on my document?

            1 Reply Last reply Reply Quote 0
            • PeterJonesP
              PeterJones
              last edited by Jan 6, 2020, 6:27 AM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • PeterJonesP
                PeterJones
                last edited by Jan 6, 2020, 6:39 AM

                @cisco779k said in remove hyperlink:

                it is a text file copied from an html page

                Sorry, I didn’t see that line when I replied the first time, hence the deleted post.

                First, I’ll say that you’re contradicting yourself. Marked-up HTML code is not generally called “a text file”.

                Second, the easiest way to get the rendered content of HTML into text form is to load the HTML with a browser, then copy-paste from the rendered browser window into your Notepad++ – that way, all links and formatting and the like are removed, and you’re left with just the content. The next easiest is to use a tool that parses HTML, and knows the difference between the tags and the contents, and knows how to do that (there are some XML and HTML-aware plugins in Notepad++ that might be of help)

                Third, if you have HTML source code, and you want most of it to remain, but just want to convert <a href=...>xyz</a> to xyz:

                • FIND = (?s)<a .*?>(.*?)</a>
                • REPLACE = $1
                • mode = regular exprsesion
                <span>blah <a href=...>xy 
                z</a> blah</span>
                

                becomes

                <span>blah xy 
                z blah</span>
                

                This is a simplistic answer, with many hidden assumptions about the data (it assumes no nesting, no > characters inside the <a ...> tag (like in one of the attributes), and others that I might not even have articulated).

                Also, this is just guessing as to how you want to transform the data. You seem reluctant to show us examples of the text before and after the operation. This is not conducive to getting good help. If you want help in this or any forum, you have to help us help you by providing example data, and showing how you’d like it to change.

                -----

                Please Read And Understand This

                FYI: I often add this to my response in regex threads, unless I am sure the original poster has seen it before. Here is some helpful information for finding out more about regular expressions, and for formatting posts in this forum (especially quoting data) so that we can fully understand what you’re trying to ask:

                This forum is formatted using Markdown . Fortunately, it has a formatting toolbar above the edit window, and a preview window to the right; make use of those. The </> button formats text as “code”, so that the text you format with that button will come through literally ; use that formatting for example text that you want to make sure comes through literally, no matter what characters you use in the text (otherwise, the forum might interpret your example text as Markdown, with unexpected-for-you results, giving us a bad indication of what your data really is).

                Images can be pasted directly into your post, or you can hit the image button. (For more about how to manually use Markdown in this forum, please see @Scott-Sumner’s post in the “how to markdown code on this forum” topic, and my updates near the end.) Please use the preview window on the right to confirm that your text looks right before hitting SUBMIT. If you want to clearly communicate your text data to us, you need to properly format it.

                If you have further search-and-replace (“matching”, “marking”, “bookmarking”, regular expression, “regex”) needs, study the official Notepad++ searching using regular-expressions docs , as well as this forum’s FAQ and the documentation it points to. Before asking a new regex question, understand that for future requests, many of us will expect you to show what data you have (exactly), what data you want (exactly), what regex you already tried (to show that you’re showing effort), why you thought that regex would work (to prove it wasn’t just something randomly typed), and what data you’re getting with an explanation of why that result is wrong. When you show that effort, you’ll see us bend over backward to get things working for you. If you need help formatting, see the paragraph above.

                Please note that for all regex and related queries, it is best if you are explicit about what needs to match, and what shouldn’t match, and have multiple examples of both in your example dataset. Often, what shouldn’t match helps define the regular expression as much or more than what should match.

                Here is the way I usually break down trying to figure out a regex (whether it’s for myself or for helping someone in the forum):

                1. Compare what portions of each line I want to match is identical to every other one (“constants”), and what parts do I want to allow to be different in each line (“variables”) but still be part of the match.
                1. Look at both the variables and constants, and see what portions of each I’ll want to keep or move around, vs which parts get thrown away completely. Each sub-component that I want to keep will be put in a regex group. Anything that gets completely thrown away doesn’t need to be in a group, though sometimes I put it in a numbered (___) or unnumbered (?:___) group anyway, if I have a good reason for it. Anything that needs to be split apart, I break into multiple groups, instead of having it as one group.
                1. For each group, I do a mental “how would I describe to my son how to correctly match these characters?” – which should hopefully give me a simple, foolproof algorithm of characters that must match or must not match; then I ask, “how would I translate those instructions into regex sequences?” If I don’t know the answer to the second, I read documentation, or ask a specific question.
                1. try it, debug, iterate.
                1 Reply Last reply Reply Quote 1
                • cisco779kC
                  cisco779k
                  last edited by Jan 6, 2020, 5:37 PM

                  oh my god, how many words…!
                  I didn’t think it was that difficult…
                  summarize: i have, from html page, selected all content, then copied into txt file (new-txt file). then i have open this file with notepad++
                  my txt file is very simple, i don’t have any html code… i have list like this:

                  0012_jkhdfkjerfkherf – 8.51 MB
                  https://efelkflkeflekfjler.kgf

                  0016_eorueioueiti – 19.72 MB
                  https://irueoruoetoret.sjr

                  0027_eorueioueiti – 29.62 MB
                  https://irueyrryrtytry.haj

                  while on win notepad i see plain text, on np++ i see all line with link as hyperlink.
                  i don’t want this, i want see all my text on plain text, as in win notepad

                  Alan KilbornA 1 Reply Last reply Jan 6, 2020, 9:41 PM Reply Quote 0
                  • Alan KilbornA
                    Alan Kilborn @cisco779k
                    last edited by Jan 6, 2020, 9:41 PM

                    @cisco779k

                    You said:

                    oh my god, how many words

                    Yep, I know. :-)

                    uncheck No underlines then reboot notepad. this work

                    So now links are not underlined…seems good…

                    while on win notepad i see plain text
                    on np++ i see all line with link as hyperlink. i don’t want this

                    So if links aren’t underlined (already established), exactly how do you see them as hyperlink?

                    It is probably (past) time to post some screenshots!:
                    “good” behavior from win notepad
                    “bad” behavior from Notepad++

                    1 Reply Last reply Reply Quote 0
                    • cisco779kC
                      cisco779k
                      last edited by Jan 6, 2020, 10:24 PM

                      yes underlined solve!
                      but screenshot it is not necessary: simply copy one link (ex https://irueyrryrtytry.haj/ ) then open in notepad and open on np++ and you see the difference!
                      on notepad are simply plain text, on np++ is hyperlink! this option it is possible disable from preference - MISC - enable or not link clickable, but i would like to know if there is a way to convert my txt on plain text…

                      1 Reply Last reply Reply Quote 0
                      • Alan KilbornA
                        Alan Kilborn
                        last edited by Jan 6, 2020, 10:54 PM

                        Ugh. You ask people for stuff that would help in helping THEM, and they just can’t seem to provide it. Double ugh.

                        0e6e1895-57cd-4502-8abb-2733209c4ffe-image.png

                        1 Reply Last reply Reply Quote 0
                        • PeterJonesP
                          PeterJones
                          last edited by Jan 6, 2020, 11:09 PM

                          @cisco779k ,

                          how many words…! I didn’t think it was that difficult…In my

                          How could we know? You never showed us what your problem was, and your description of your problem was sketchy at best, and you wouldn’t respond to requests for more information. I had to make a guess as to what your problem was – and since toggling the option didn’t seem to be enough for you, and you said “text copied from an html page”, I guessed that you meant you had text like <a href="https://irueyrryrtytry.haj/">blah</a>; I now appear to have guessed wrong. But since you still haven’t actually showed us the problem you are having, I am still guessing.

                          @Alan-Kilborn said in remove hyperlink:

                          Double ugh.

                          Indeed.

                          I think the OP’s problem actually boiled down to “When I toggle that option, the underlining doesn’t appear to immediately change.”

                          A quick experiment in my 7.8.2-64b, and I see that if I toggle that setting and hit Close button, it doesn’t immediately change. If I switch to a different tab in Notepad++ and go back, the underline goes away or comes back (whichever direction the setting was); in fact, if I page down and page back up, the underlining refreshes. Basically, a window-refresh needs to be initiated in order for that option to take effect.

                          Alan KilbornA 1 Reply Last reply Jan 6, 2020, 11:13 PM Reply Quote 1
                          • PeterJonesP
                            PeterJones
                            last edited by Jan 6, 2020, 11:12 PM

                            @PeterJones said in remove hyperlink:

                            in my 7.8.2-64b

                            I just checked. The same was true in 7.7-64b or 7.5.9-64b, so this requires-refresh has been around for a while (maybe even always).

                            1 Reply Last reply Reply Quote 0
                            • Alan KilbornA
                              Alan Kilborn @PeterJones
                              last edited by Jan 6, 2020, 11:13 PM

                              @PeterJones said:

                              I think the OP’s problem actually boiled down to “When I toggle that option, the underlining doesn’t appear to immediately change.”

                              But the OP said:

                              uncheck No underlines then reboot notepad.

                              Which leads me to believe the OP wasn’t bothered by a restart being needed, and something else was going on.

                              But it is time to stop guessing and let this go…I’m out. :-)

                              1 Reply Last reply Reply Quote 0
                              • cisco779kC
                                cisco779k
                                last edited by Jan 7, 2020, 1:14 AM

                                dear PeterJones you guessed!
                                I saved an html page on my pc, then i have clean all html code.
                                before i had everything like <a href=“https://irueyrryrtytry.haj/ ”>blah</a>
                                now i have delete all html code.
                                my problem it is not underlining (which requires a restart np++ or refresh page)… this works! problem is persistence of the active link, on np++ while in simple notepad i don’t see…
                                I didn’t want to post my screenshot because they are private data (those of the txt) but since my problem is perhaps not clear, i modified them and here i attach a screen: https://postimg.cc/0rHdTzH7

                                1 Reply Last reply Reply Quote 0
                                • cisco779kC
                                  cisco779k
                                  last edited by Jan 7, 2020, 1:16 AM

                                  [sorry but I can’t insert a direct image here: when I click on insert image it comes ![alt text](image url) but insert url i don’t see on preview my image… then i have post url of my image]

                                  1 Reply Last reply Reply Quote 0
                                  • cisco779kC
                                    cisco779k
                                    last edited by Jan 7, 2020, 1:31 AM

                                    and this also happens in a new document: perhaps it is the prerogative of np ++ to always show clickable links and perhaps this is possible only by disabling preferences.

                                    1 Reply Last reply Reply Quote 0
                                    • cisco779kC
                                      cisco779k
                                      last edited by Jan 7, 2020, 2:12 AM

                                      all text, preceded by https:// or http://, is seen by np++ such as linkable.
                                      only way is disable from preference - MISC or delete https:// or http://

                                      1 Reply Last reply Reply Quote 0
                                      • PeterJonesP
                                        PeterJones
                                        last edited by Jan 7, 2020, 7:53 AM

                                        @cisco779k said in remove hyperlink:

                                        only way is disable from preference - MISC or delete https:// or http://

                                        Yes, that is the expected behavior. You either have to configure notepad++ to not underline links, or you have to make sure there are no links in the text; either one will stop notepad++ from underlining your text as a link.

                                        forum aside

                                        To help you with your difficulties in the forum:

                                        https://postimg.cc/0rHdTzH7
                                        [sorry but I can’t insert a direct image here: when I click on insert image it comes ![alt text](image url) but insert url i don’t see on preview my image… then i have post url of my image]

                                        That’s because the url https://postimg.cc/0rHdTzH7 doesn’t point to an image but to HTML, so ![](https://postimg.cc/0rHdTzH7) is trying to load an HTML page as an image, which doesn’t work. The actual image is at https://i.postimg.cc/Ghb7sYFg/345345345.jpg , so ![](https://i.postimg.cc/Ghb7sYFg/345345345.jpg) will display:

                                        1 Reply Last reply Reply Quote 1
                                        • cisco779kC
                                          cisco779k
                                          last edited by Jan 7, 2020, 5:12 PM

                                          tanxs Peter, i understood my mistake in inserting an image.
                                          it will be very useful for the next posts!

                                          well, understood this little drawback, i hope that an option in np ++ is added which you deactivate text as a link for every single file, not just from preferences as a general rule…
                                          because maybe, in some cases, it may be useful to have a text as a link. if you disable it from preferences, it will never occur again!
                                          it would be convenient to be able to select link and with the right button to have an item such as “view link as plain text” in the menu in order to have a choice of each link …
                                          this is what i would like in a nest future version of np++

                                          Alan KilbornA 1 Reply Last reply Jan 7, 2020, 10:09 PM Reply Quote 0
                                          • Alan KilbornA
                                            Alan Kilborn @cisco779k
                                            last edited by Jan 7, 2020, 10:09 PM

                                            I said “I’m out” but I had to come back for one more comment: This whole thread is ridiculous.

                                            It’s just text. If you leave the underlines on, just ignore them. If you don’t want to follow the links, don’t double click them. It’s THAT simple.

                                            well, understood this little drawback, i hope that an option in np ++ is added which you deactivate text as a link for every single file, not just from preferences as a general rule…because maybe, in some cases, it may be useful to have a text as a link. if you disable it from preferences, it will never occur again! it would be convenient to be able to select link and with the right button to have an item such as “view link as plain text” in the menu in order to have a choice of each link …this is what i would like in a nest future version of np++

                                            None of that stuff is ever going to happen.

                                            1 Reply Last reply Reply Quote 1
                                            • 15 days later
                                            • Prahlad-Makwana4145P
                                              Prahlad-Makwana4145
                                              last edited by Jan 22, 2020, 2:54 PM

                                              Hello, @cisco779k

                                              Please follow these steps to remove hyperlink.

                                              Step 1:- Open Notepad++ and go to Settings.
                                              Step 2:- Select Preferences.
                                              Step 3:- After opening preferences window, Click on MISC tab.
                                              Step 4:- Click under the ‘Clickable Link Settings’ section in uncheck the ‘Enable’ checkbox.

                                              392f7785-1343-4e1c-b7e4-c79925e6f6d0-image.png

                                              I hope above information will be useful for you.
                                              Thank you.

                                              1 Reply Last reply Reply Quote 0
                                              • about a year later
                                              • Lê Thanh BảoL
                                                Lê Thanh Bảo
                                                last edited by Lê Thanh Bảo Feb 18, 2021, 5:17 AM Feb 18, 2021, 5:14 AM

                                                2021-02-18_3-11-36.png

                                                Step 1: - Open Notepad++ and go to Settings.
                                                Step 2: - Select Preferences.
                                                Step 3: - After opening preferences window, Click on ‘Cloud & Link’ tab.
                                                Step 4: - Click under the ‘Clickable Link Settings’ section in uncheck the ‘Enable’ checkbox.

                                                Vincent KoevoetsV nils svejgaardN 2 Replies Last reply May 11, 2021, 2:59 AM Reply Quote 1
                                                • 3 months later
                                                • Vincent KoevoetsV
                                                  Vincent Koevoets @Lê Thanh Bảo
                                                  last edited by May 11, 2021, 2:59 AM

                                                  @Lê-Thanh-Bảo said in remove hyperlink:

                                                  2021-02-18_3-11-36.png

                                                  Step 1: - Open Notepad++ and go to Settings.
                                                  Step 2: - Select Preferences.
                                                  Step 3: - After opening preferences window, Click on ‘Cloud & Link’ tab.
                                                  Step 4: - Click under the ‘Clickable Link Settings’ section in uncheck the ‘Enable’ checkbox.

                                                  YES! This saved my butt. How would they even consider moving this setting to such a strange and unlogical place?
                                                  Thanks for the tip!

                                                  Alan KilbornA 1 Reply Last reply May 11, 2021, 3:55 AM Reply Quote 0
                                                  • Alan KilbornA
                                                    Alan Kilborn @Vincent Koevoets
                                                    last edited by May 11, 2021, 3:55 AM

                                                    @Vincent-Koevoets said in remove hyperlink:

                                                    How would they even consider moving this setting to such a strange and unlogical place?

                                                    Hmmm, “strange and illogical”, hmm.
                                                    I think you must be trolling because this is a very oddball statement.
                                                    The Preferences category name is Cloud & Link.
                                                    Not sure where else one would look for “link” settings.
                                                    I mean, it used to be under MISC. and that is less specific.

                                                    1 Reply Last reply Reply Quote 3
                                                    • 2 months later
                                                    • CruceC
                                                      Cruce
                                                      last edited by Jun 29, 2021, 7:51 AM

                                                      I came across these post looking for the same solution as the OP. However, it became clear that everyone was trying to talk over each others’ heads and not addressing the issue. Therefore, I will do my best to explain what is happening and what would be the ideal results.

                                                      First, let’s all agree that what is displayed in Notepad++ is NOT “plain” text. If it was simply “plain” text, any text that follows the format of a URL would not appear to a hyperlink.

                                                      e3d8a330-17dc-47a8-8abc-66b0972c66da-image.png

                                                      Yes, we could argue that it is really “plain” text and it only appears to not be “plain” text because Notepad++ draws the underline and changes the mouse cursor to look like a clickable hyperlink when you hover the mouse over it. The point is that it appears to be a clickable link and that is not what is expected from a “plain” text editor. Plus it can distract the person from clicking on it.

                                                      For example, if I just want to click and highlight a portion of the string of text, I might be reluctant to click anywhere on it expecting it to open up the hyperlink in my browser. Alas, it doesn’t follow the link unless you double click on it.

                                                      dda9aa8f-3e16-4927-afc9-31b881eac2e1-image.png

                                                      I have to admit that at first I was reluctant to click anywhere on the “link” in fear of it taking me to my browser when all I wanted to do was copy a portion of the URL.

                                                      If you can get past the point that simply clicking anywhere on the “link” is not going to take you away from what you are intending to do, then it is a mute point if you decide to uncheck the box for Settings->Preferences->No Underline. You simply treat the text as “plain” text and ignore that it looks like a hyperlink.

                                                      For those that can’t get past the fact that it looks like a hyperlink, then uncheck the fore mention check box. Yes, at first I was unable to get past this fact and treat it as plain text when it was telling my brain that it wasn’t.

                                                      It only becomes a true hyperlink if you double click on it. If this was not the case, I can see why it would be necessary to have hyperlinks for those documents that you want hyperlinks and no hyperlinks for those you don’t.

                                                      You may ask, why did I even bother to bring this up when it is so obvious. The point is that it is not obvious to everyone, including myself at first. I have found that it is not always best to approach answering a question assuming that the person asking the question has the same knowledge that you do; otherwise, why even ask the question in the first place. For those asking the question, it is best not to assume that everyone understands your problem and can read your mind. I only understood your question, because I came to this post looking for the same answer.

                                                      I learned that I needed to accept that my mind is playing tricks on me and that it is really not a hyperlink. So, I will leave by quoting The Matrix, “There is no spoon”.

                                                      CruceC 1 Reply Last reply Jun 29, 2021, 7:59 AM Reply Quote 0
                                                      • CruceC
                                                        Cruce @Cruce
                                                        last edited by Jun 29, 2021, 7:59 AM

                                                        @Cruce said in remove hyperlink:

                                                        It only becomes a true hyperlink if you double click on it.

                                                        Correction. As it wouldn’t let me edit what I posted above.

                                                        “It only behaves like a true hyperlink, if you double click on it.”

                                                        Alan KilbornA 1 Reply Last reply Jun 29, 2021, 9:42 AM Reply Quote 0
                                                        • Alan KilbornA
                                                          Alan Kilborn @Cruce
                                                          last edited by Alan Kilborn Jun 29, 2021, 9:44 AM Jun 29, 2021, 9:42 AM

                                                          @Cruce

                                                          I will do my best to explain … what would be the ideal results

                                                          Unless I missed it, I don’t think you explained what the “ideal results” would be. I suppose I can infer that your ideal is to never have any underlined text – but that would bother the productive text editor users that exploit this feature to increase their, well, productivity. I recently discussed how to exploit this feature for even more productivity in another thread.

                                                          it appears to be a clickable link and that is not what is expected from a “plain” text editor

                                                          So maybe the ideal results you mention would be not showing this type of text as underlined, thus falling behind in capability other text editors to do show this type of thing.

                                                          everyone was trying to talk over each others’ heads

                                                          I’m probably guilty of doing this again, if I was guilty of it the first time.

                                                          at first I was reluctant to click anywhere on the “link” in fear of it taking me to my browser

                                                          And OMG that would be the biggest travesty of all time, to have that happen.
                                                          On the contrary, if that did happen, at least you’d learn something about the software you’re using.

                                                          I learned that I needed to accept that my mind is playing tricks on me and that it is really not a hyperlink

                                                          Why can’t it be both text AND a hyperlink?
                                                          What is the big objection here?
                                                          And sure, turn it off if you like (and lose functionality).

                                                          You may ask, why did I even bother to bring this up when it is so obvious.

                                                          Yep.

                                                          And for things that are not obvious, sometimes you have to do something called “playing with the software”, so you understand how it works. Do this and you’ll move to a higher plane of awareness, so that you can work better in the future. Don’t do it and you’ll stagnate, until, like an elderly parent, you’re afraid to even try to open a .PDF

                                                          Again I say This whole thread is ridiculous.

                                                          1 Reply Last reply Reply Quote 0
                                                          • Alan KilbornA
                                                            Alan Kilborn
                                                            last edited by Jun 30, 2021, 3:35 AM

                                                            I don’t like this, because I think it just adds noise, but some programs, most notable in my mind being Microsoft products, pop up a box like this when link text is hovered, explaining what you can do:

                                                            1f2f894b-10e1-45b7-8865-61541fe13524-image.png

                                                            Again, I’m not a big fan of this, but perhaps this is what people are looking for, so the possible action is detailed.

                                                            Screenshot from Microsoft Visual Studio.

                                                            1 Reply Last reply Reply Quote 1
                                                            • 7 months later
                                                            • Peter SeitzP
                                                              Peter Seitz
                                                              last edited by Jan 14, 2022, 6:32 AM

                                                              Hi ! Just looking into hyperlinks as well and chose to post to this thread. In short, pasting a url into a NP++ tab preserves the underlying link (ie you can double-click it and it opens in your browser). This is useful when that’s the behaviour you want. But if you don’t want that behaviour for a specific link, I would find it useful to mimic the behaviour of, say MS Word: mouse over the link, right-click, select ‘remove link’ and be left with inactive text - double-clicking won’t do anything. As opposed to turning off all links via the settings menu. But I guess from the comments, that this is neither on the feature roadmap, nor does it seem to be a feature that most users would find useful - is that the right conclusion to draw ?

                                                              Michael VincentM 1 Reply Last reply Jan 14, 2022, 7:20 AM Reply Quote 0
                                                              • Michael VincentM
                                                                Michael Vincent @Peter Seitz
                                                                last edited by Jan 14, 2022, 7:20 AM

                                                                @peter-seitz said in remove hyperlink:

                                                                MS Word: mouse over the link, right-click, select ‘remove link’ and be left with inactive text - double-clicking won’t do anything. As opposed to turning off all links via the settings menu. But I guess from the comments, that this is neither on the feature roadmap, nor does it seem to be a feature that most users would find useful - is that the right conclusion to draw ?

                                                                It’s either or - on or off. You say yourself, “in MSWord …”, but this is a text editor - not MS Word. There is no meta data in the Word document behind the link, there is simply the text of the link and Notepad++ can either (if enabled) parse and recognize links and underline them (not adding any meta data to the text document about whether the link is on or off) or not.

                                                                MS Word can “rename” hyperlinks so you can have:

                                                                Google
                                                                or
                                                                https://www.google.com

                                                                Notepad++ as with any text editor is only capable of the latter. Remember this is only text, not meta data rich text document format - just plain old text.

                                                                Cheers.

                                                                G 1 Reply Last reply Apr 5, 2022, 1:45 AM Reply Quote 3
                                                                • 3 months later
                                                                • G
                                                                  Gary Kephart @Michael Vincent
                                                                  last edited by Apr 5, 2022, 1:45 AM

                                                                  @michael-vincent I came here for this particular problem as Peter described. What I think people are looking for is an additional feature that you might describe as an exception to rendering the selected text as a hyperlink. Yes, we get that there’s a global switch, but we’re not interested in that. We only want that one particular selected text in that document and in that location in the document to be an exception to the rendering feature.

                                                                  H PeterJonesP 2 Replies Last reply Apr 5, 2022, 4:54 PM Reply Quote 0
                                                                  • H
                                                                    Henry Mosley @Gary Kephart
                                                                    last edited by Apr 5, 2022, 4:54 PM

                                                                    This post is deleted!
                                                                    1 Reply Last reply Reply Quote -1
                                                                    • PeterJonesP
                                                                      PeterJones @Gary Kephart
                                                                      last edited by PeterJones Apr 5, 2022, 10:41 PM Apr 5, 2022, 10:09 PM

                                                                      @gary-kephart said in remove hyperlink:

                                                                      We only want that one particular selected text in that document and in that location in the document to be an exception to the rendering feature.

                                                                      And when you save the file and open it in notepad.exe, or transfer the file to another computer and open it in a different Notepad++, how do you expect those other executables to know which hyperlinks you have customized and which you haven’t?

                                                                      If the bytes of the file only contain the text of the hyperlink, it’s impossible to do what you ask.

                                                                      If you say “then put in some special non-text bytes”, then the file in question ceases to be a plain text file, and the application ceases to be a text editor. That’s the way that MS Word and other word processors handle it; that’s the way that Adobe Acrobat and other PDF writers and readers handle it; but it’s not a feature of text editors. So Notepad++ is not going to do that.

                                                                      And if you say “use a markup or markdown language like HTML or the markdown that this forum uses, because those are both text-only”, then what you need to do is just type the HTML or markdown syntax in the text file you are saving, and to understand that as a text editor, Notepad++ will show you the underlying text (including the textual markdown or HTML codes), not the rendered version – so you would type something like plaintext [link text](https://url "title") more plaintext or plaintext <a href="https://url" title="title>link text</a> more plaintext – and that text you type is what Notepad++ will show you. Notepad++ has a syntax highlighter system, so if you have HTML, it can colorize the markup, but it’s not actually rendering it; and with the Markdown UDL, it will colorize the syntax of Markdown, but not technically render it (it might show some of the italics, etc, but it will still also show you the markdown codes, because the markdown codes are part of the text file you are editing). To render markdown or HTML (view it with all the highlighting and links and hover text), you either need an external application to the text editor (like a browser), or you need a plugin like Markdown++ or PreviewHTML which will create a new panel in Notepad++ where the source code you are editing gets rendered, so you can view it as you edit it.

                                                                      1 Reply Last reply Reply Quote 5
                                                                      • 3 years later
                                                                      • nils svejgaardN
                                                                        nils svejgaard @Lê Thanh Bảo
                                                                        last edited by Jan 11, 2025, 8:46 PM

                                                                        @Lê-Thanh-Bảo said in remove hyperlink:

                                                                        2021-02-18_3-11-36.png

                                                                        Step 1: - Open Notepad++ and go to Settings.
                                                                        Step 2: - Select Preferences.
                                                                        Step 3: - After opening preferences window, Click on ‘Cloud & Link’ tab.
                                                                        Step 4: - Click under the ‘Clickable Link Settings’ section in uncheck the ‘Enable’ checkbox.

                                                                        This. just straight up saved so much frustration :D.
                                                                        Much love sir. many thanks from random person who registered ONLY to say thanks :D

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

                                                                        Looks like your connection to Community was lost, please wait while we try to reconnect.