• Matching brace doesn't work in batch

    3
    0 Votes
    3 Posts
    385 Views
    dshuman52D

    I believe the following demonstrates a quirk in the operation of the matching function for a paren.

    https://community.notepad-plus-plus.org/post/49621

    I have found no issues yet if the ^continuation character is NOT used.

  • Easy Way to copy visible lines only, number them

    2
    0 Votes
    2 Posts
    687 Views
    Alan KilbornA

    @Anon-A

    Basically you need to see here. And you need to show examples of what you are starting with and what you want to achieve for the different cases you are talking about. Nobody is going to read your mind in order to provide help in answering your questions.

    …between <dict> and </dict> in this case or sth else

    If your use of sth here is meant to be the word something then I think we can see that you want to put zero effort into asking your questions, so don’t be surprised if nobody wants to put more-than-zero effort in to answer. Don’t treat this site like you are texting.
    If this is off-base, then apologies…

  • shortcuts.xml file

    8
    0 Votes
    8 Posts
    980 Views
    Peter BrandP

    @dinkumoil said in shortcuts.xml file:

    NppUISpy

    Very useful plugin, used it to see what the Set Language command was. Thanks

  • Extracting the Column with condition

    14
    0 Votes
    14 Posts
    930 Views
    nicol armN

    @PeterJones
    Peter Jones, thanks a lot
    Solved

  • Uppercase / Lowercase / Capitalize each word.

    2
    0 Votes
    2 Posts
    322 Views
    PeterJonesP

    Edit > Convert Case to > Proper Case:

    this is a test of the emergency capitalization

    becomes

    This Is A Test Of The Emergency Capitalization
  • New v7.8 "enhancement" in Save dialog is missing keyboard shortcuts

    4
    1 Votes
    4 Posts
    451 Views
    ddavisterD

    @Franz-X-Kohl
    I agree. Keyboard shortcuts are not only useful for power users like us, but for people with disabilities who are unable to use the mouse. While users are able to use the tab key, that too is more cumbersome and keyboard shortcuts are widely considered an accessibility standard.

  • How to search between multiple lines in Notepad++ ??

    3
    0 Votes
    3 Posts
    6k Views
    Prahlad-Makwana4145P

    Hello, Happy New Year 2020 ! @guy038 and All,

    Thank you for Replay your both solution are work successfully for me.

  • remove everything before / with notepad++

    2
    0 Votes
    2 Posts
    358 Views
    Alan KilbornA

    @yuly-pmem

    I would be tempted to search (in regular expression search mode) for (?-is)^https://.+/ and replace with nothing.

  • Как отключить автозавершение слова?

    2
    0 Votes
    2 Posts
    2k Views
    andrecool-68A

    @cergei-kutuzoy Зайди в настройки и отключи этот флаг:

    Imgur

  • How to navigate many open files...

    3
    0 Votes
    3 Posts
    1k Views
    haz itH

    I appreciate the suggestion. I did try that plugin, and while it’s nice to be able to filter the open files by name, it doesn’t allow rearranging (reordering) the list as far as I can tell.
    The name filter has very limited helpfulness when you work with so many files, because remembering many file names and typing them is really not practical. Come to think of it, the Doc panel, the Windows panel, and the “Navigate To” panel all suffer from the same issue - the list can’t be reordered. That’s really the issue.

    When I add say another 20 files to the already 100 opened files, I’d like to move those last 20 somewhere up in the list…

  • Pick XMl from list of XMLs based on the matching conditions

    4
    -1 Votes
    4 Posts
    390 Views
    Alan KilbornA

    This is getting old…fast.

  • Pick XMl from list of XMLS which matching subelements tag values

    2
    -1 Votes
    2 Posts
    183 Views
    PeterJonesP

    If you have additional information for a given question, add a reply to that question, rather than opening a new one

  • Pick XML from the list of XMls which matches the conditions

    3
    0 Votes
    3 Posts
    211 Views
    guy038G

    Hi, @vijay-s,

    See my reply here :

    https://community.notepad-plus-plus.org/post/49510

    BR

    guy038

  • What does all this stuff mean?

    4
    0 Votes
    4 Posts
    353 Views
    andrecool-68A

    @Aidan-Garcia This means that you do not know where to use your notepad++, and open non-text documents in it!

  • Extract columns with notepad ++

    8
    0 Votes
    8 Posts
    994 Views
    frank kisF

    @guy038

    I’m sorry for my English, I’m from Chile, I thank you very much for your help, for you what I needed was solved
    You are a great person and teacher in notepad.
    regards
    Happy new year 2020

  • HTML Problems

    2
    0 Votes
    2 Posts
    184 Views
    Alan KilbornA

    @Jochem-van-Barneveld

    Seek answers here.

  • column separation

    2
    0 Votes
    2 Posts
    325 Views
    guy038G

    Hello, @toti-chalo and All,

    As your file is a colon delimited file, here is a possible solution :

    Open the Replace dialoag ( Ctrl + H )

    SEARCH (?-s)^.+?:(.+?:)(.+?:){2}(.+?)(:.*)?(?=\R|\z)

    REPLACE \1\3

    Tick the Wrap around option, if necessary

    Select the Regular expression search mode

    Click once on the Replace All button or several times on the Replace button

    Notes :

    The first part (?-s) ensures that the regex char . will match a single standard character, only ( not EOL ones )

    Then the next part ^.+?: searches the shortest range of standard chars, from beginning of line till a colon character ( the 1st column )

    Now, the part (.+?:) represents again the shortest range of standard chars till the next colon character ( the 2nd column), which is stored as group 1, due to the parentheses

    Next, comes the part (.+?:){2}, which matches the next two columns 3rd and 4th with their ending colon chars

    Finally, the part (.+?)(:.*)? represents the shortest range of chars, stored as group 2, optionally followed with a colon char and other columns :.* , till a line-break or the very end of the file, due to the look-ahead condition (?=\R|\z), which is not part of the overall match

    In replacement, we simply rewrite the 1st and 3rd groups, standing for the 2nd and 5th columns of your table

    Best Regards,

    guy038

  • remove lines containing SHA-1 HASH

    3
    0 Votes
    3 Posts
    448 Views
    ani rodetA

    thanks very much

  • How to join the rows with notepad?

    3
    0 Votes
    3 Posts
    265 Views
    guy038G

    Hello, @kikenetxy-giga, and All,

    Elementary !

    Open The Replace dialoag ( Ctrl + H )

    SEARCH :\R

    REPLACE :

    Tick the Wrap around option, if necessary

    Select the Regular expression search mode

    Click once on the Replace All button or several times on the Replace button

    Notes :

    The \R regex syntax search any kind of Line-Break ( \r\n in Windows files, \n in Unix files and \r in Mac files )

    So the search regex looks for a colon :, ending a line

    Best Regards,

    guy038

  • MD5 file

    2
    0 Votes
    2 Posts
    322 Views
    guy038G

    Hello, @chalo-net, and All,

    Easy with regular expressions !

    Open The Replace dialoag ( Ctrl + H )

    SEARCH (?-s)(^.+:[[:xdigit:]]{32}).+

    REPLACE \1

    Tick the Wrap around option, if necessary

    Select the Regular expression search mode

    Click once on the Replace All button or several times on the Replace button

    Notes :

    The first part (?-s) ensures that the regex char . will match a single standard character, only

    Then the part ^.+: searches for the longest zone ending with a : character

    Now, the part [[:xdigit:]]{32} simply selects 32 hexadecimal characters

    As the part ^.+:[[:xdigit:]]{32} is embedded in parentheses , its present value is stored as group 1, which will be rewritten, during replacement

    The final part .+, searching for the remainder of each line, is deleted, during replacement, as not stored in a group

    Best Regards,

    guy038