• Find previous not working on win32 notepad++ 7.8.x

    2
    0 Votes
    2 Posts
    202 Views
    PeterJonesP

    @Sherif-Hemida ,

    It was an intentional change in v7.8.7, because find-previous doesn’t work how you think it will with regular expressions enabled. Find previous is still enabled for regular searches.

    See the instructions in the official docs for a config file change to make it work with regex, with the caveat that reverse-direction searches with regex sometimes yield unexpected results: https://npp-user-manual.org/docs/preferences/#preferences-for-advanced-users

  • Starting notepad++ from Windows CMD, CMD doesn't close anymore ...

    3
    0 Votes
    3 Posts
    605 Views
    volker001V

    Thank you, for your answer,

    now i have checked a liitle bit more and i found the master.bat start with an mtee splitter.
    (http://ritchielawrence.github.io/mtee/)
    “test.bat” 2>&1 | mtee_versions\mtee.exe /C “test_bat.log”

    Without the splitter notepad++ works as expected.
    So i think there changes from microsoft in windows.

  • Replacing with \n on a large file get the Notepad++ application hang

    2
    0 Votes
    2 Posts
    209 Views
    EkopalypseE

    @Gabriel-Pelayo

    how do you replace it? Can you give us a screenshot from your
    replace dialog? In addition, can you post the debug info from the last menu, the ? menu?

  • Copy as path puts last file first in a pasted list

    3
    0 Votes
    3 Posts
    902 Views
    astrosofistaA

    Hi @Michael-Charney

    Try to select all files in reverse order. For example, if I want to get the files ordered as 1-3, I select first the 3, then the 2 and finally the 1. These will be copied in Notepad++ in order 1-3.

    Tested and worked in my Windows 7.

    Take care.

  • Macro problem with ctrl + x / ctrl + v

    5
    0 Votes
    5 Posts
    622 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
    397 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
    219 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
    5k 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
    200 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
    533 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
    4k 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
    603 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
    219 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
    2k 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
    361 Views
    No one has replied
  • Regex - What once worked now does not. I think.

    5
    0 Votes
    5 Posts
    229 Views
    Thomas 2020T

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

  • Automatically copy selected text?

    9
    0 Votes
    9 Posts
    6k 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. :-)