• Macro problem with ctrl + x / ctrl + v

    5
    0 Votes
    5 Posts
    879 Views
    NoobsteinN

    Thanks for the answers
    It worked by editing %AppData%\Notepad++\ shortcuts.xml and then merging the pieces

  • RegEx Is there a solution here?

    8
    0 Votes
    8 Posts
    671 Views
    Alan KilbornA

    I like the test word chosen here.

  • Find Duplicate lines by the part of line and keep one of them

    13
    0 Votes
    13 Posts
    7k Views
    Terry RT

    @Kosmos-Huynh said in Find Duplicate lines by the part of line and keep one of them:

    but it does not work in my case

    I’m not surprised the regex you showed didn’t work. The example data is just a bit too different and unless you know what each part of the regex does you could well find it doing more damage to your data than good.

    As this conversation is 3 years old and your request is different enough can you start a new post? By all means reference back to this if you want but in reality it needs dealing with as a separate conversation.

    Also when including sample data please use the </> button (which you will see above the window where you type) around the examples, this prevents any characters typed from being altered by the interpreter in which you type. Please include more examples as what you have is insufficient to help describe the reason why 2 lines should be deleted when all 3 have the same word but all 3 have different numbers following. Describe more fully the requirement a line must have before it can be described as a “duplicate” and therefore deleted along with the line before it.

    Terry

  • TAB setting

    2
    0 Votes
    2 Posts
    335 Views
    Terry RT

    Look at Preferences, Language. Then on the right side you can either select according to the file type/programming language type or override and set your own; in this case; 8 char tabs.

    Terry

  • Log file colour coding based on error level (debug,info,error etc)

    2
    0 Votes
    2 Posts
    6k Views
  • How to I move a line with Specific character

    5
    0 Votes
    5 Posts
    1k Views
    Jovan PrlicJ

    @Terry-R said in How to I move a line with Specific character:

    (?-s)^.+\R#\R?

    It worked, THANK YOU SO MUCH!!

  • UDL help

    3
    0 Votes
    3 Posts
    321 Views
    Charlie BrownC

    thanks, I’ll look into that.

  • RegEx: step by step

    7
    0 Votes
    7 Posts
    2k Views
    Terry RT

    @Terry-R said in RegEx: step by step:

    I’m not entirely happy with the replacement field, for 2 reasons.

    Now that I’ve had a bit more time to look at the question my final regex is:
    Find What:\w+
    Replace With:\u$0

    As the \u will ONLY convert the first character of anything following it to upper case we don’t need to worry that $0 actually contains the entire “word”, not JUST the first character.

    Terry

  • page rendered in notepad different when rendered on line

    2
    0 Votes
    2 Posts
    673 Views
    Alan KilbornA

    @Bill-Rich

    Notepad++ doesn’t “render” such things, so I think we have a case of CLICK HERE.

  • 0 Votes
    12 Posts
    5k Views
    WolfgangHGW

    @Alan-Kilborn Yes I mean the Notepad++ developers ;-).
    I don’t know whether this is an issue with Notepad++ or with Winzip. If anyone has hints on how to dig deeper in this (e.g. logging), I am willing to help. But I don’t want to build and debug it myself - my C++ knowledge is quite outdated…

  • why notepad++ dosent show my language?

    4
    0 Votes
    4 Posts
    997 Views
    andrecool-68A

    The “utf-8” encoding supports Hebrew well))

  • How to quickly add all the URLs in notepad++ to bookmarks?

    2
    0 Votes
    2 Posts
    350 Views
    Terry RT

    @Bruno-Martinha said in How to quickly add all the URLs in notepad++ to bookmarks?:

    I have more than 500 urls in a notepad

    Firstly, welcome to the NPP forum.

    Unfortunately your question is VERY short on substance. An example of the type of data would be very helpful. Like are the URLs each on a line, or mixed in with other text. To insert example data it is preferable to use the </> option just above the window you type in. This will then contain the data within a black box and the characters within will not be affected by the interpreter you are typing in.

    NPP can “bookmark” a line containing specific text. Then you could use the bookmark feature to copy (or cut) those lines and insert into an empty file to continue work on them.

    So if you can provide more information then someone is sure to be able to help.

    Terry

  • RegEx, error?

    12
    0 Votes
    12 Posts
    3k Views
    Alan KilbornA

    @Pan-Jan

    Yes, but that’s not what you said before.
    But, you have demonstrated in the past an unclearness about “straight” double quotes and “curled” double quotes, so I suppose you consider \` and \’ to be the same thing.

    Aside from your inaccuracy about the equivalency for \A (let’s put that behind us), you also said “but it works”, so can you demonstrate to us how you think it works?

    I don’t think you can, because your posts don’t make a lot of sense.
    I’m sure you will hide behind not being a native English speaker, but others have tried to point out to you that language-translators can make non-English speakers sound truly like English speakers – if one is willing to use them, correctly.

  • Clean up the backup folder

    1
    0 Votes
    1 Posts
    473 Views
    No one has replied
  • Regex - What once worked now does not. I think.

    5
    0 Votes
    5 Posts
    418 Views
    Thomas 2020T

    Maybe that’s it?
    [A-Z]\.[A-Z]

  • Automatically copy selected text?

    9
    0 Votes
    9 Posts
    8k Views
    PeterJonesP

    @Alan-Kilborn said in Automatically copy selected text?:

    there’s no reason that functionality even needs to mess with the clipboard to do what it does

    Indeed. That was the point I was trying to make that made your head hurt. :-)

  • [7.8.6] Closing tabs order.

    9
    1 Votes
    9 Posts
    3k Views
    Alan KilbornA

    @Donatas-Mačiūnas said in [7.8.6] Closing tabs order.:

    the settings section explicitly notes in the title/label that this behavior applies to Ctrl+TAB

    Isn’t hardcoding “Ctrl+Tab” on the user interface a “bad thing”??
    I mean, I can assign any (unrelated) function I want to “Ctrl+Tab”…and now that verbage on that setting in the Preferences doesn’t make any sense, because now my Ctrl+Tab combo opens up an Explorer window (for example).

    This seems odd. If a program is going to take over Ctrl+Tab for a specific purpose, that’s fine, but it should be disallowed to use that combination for other things in Shortcut Mapper then…

  • How to delete text after the 2nd specific character in each row

    16
    0 Votes
    16 Posts
    3k Views
    Thomas 2020T

    Schowek04.jpg

    ^((\w+ \| ){2})(.+)

    can be replaced individually

  • 0 Votes
    7 Posts
    929 Views
    Alan KilbornA

    @Camillia-Wee said in How to extract data from a table in excel using javascript?:

    because im using notepad++ to create the webpage

    COOKIES!

  • Is there a way to add an "enter" as part of a replace command?

    5
    0 Votes
    5 Posts
    1k Views
    Thomas 2020T

    or: Extended
    |-
    |-\r\n