• Find only the duplicate value

    Locked
    8
    0 Votes
    8 Posts
    4k Views
    T
    @Antonsta Unfortunately, even when the data is sorted, as you found out the regex still caused the same issue. That’s because it’s still trying to search forward over multiple line. When the data is sorted this isn’t necessary anymore as duplicates will appear on consecutive lines. Thus the regex can be changed to: (?-is)^(.+)\R\K(\1$) So this will ONLY look for 2 lines together with the same data. The use of the \K is to forget the first line so the line that gets marked is the duplicate line ONLY. @guy038 gave a detailed rundown on this issue and ways to circumvent it. Have a look at: https://notepad-plus-plus.org/community/topic/16489/delete-both-duplicates-regexp-macro/15?page=1 Cheers Terry
  • 0 Votes
    7 Posts
    6k Views
    오바마오
    @pnedev thanks. I have solved using the other nice guy’s help. Actually, I have went back (not go forward) version 6.something. Because that version (as far as I know) worked correctly. -recently, My SSD *ucked up, so all of my computer setting gone. any way, I’m OK Thanks… your time and effort.
  • 0 Votes
    2 Posts
    5k Views
    guy038G
    Hello, @sivabalanarayanan-l, and All, Easy, just 30 seconds ! Here is the method : Select the menu option Settings > Style Configurator… On the left side, in the Language : list, choose the SQL language At bottom of the dialog, in the User ext : zone, add the extensions, without the dot, separated with a space char. So pks pkb Click on the Save & Close button to valid these modifications Stop and restart N++ From now on, each time you’ll open a file, with extension = .pkb or .pks, the SQL language will be automatically selected ;-)) Tested on the last N++ v7.6 Best Regards, guy038
  • How to Color individual words or characters?

    Locked
    7
    0 Votes
    7 Posts
    6k Views
    AZJIO AZJIOA
    @chcg I do not know how to do that
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • regexp with hashes help

    Locked regex regex
    16
    0 Votes
    16 Posts
    4k Views
    P
    damn auto correct…
  • no response after open file from WinSCP

    Locked winscp no response crash newfile crash
    5
    0 Votes
    5 Posts
    2k Views
    bune josefB
    [<h1>yzhooo</h1> <h1>yzhooo</h1> <h1>yzhooo</h1><h1>yzhooo</h1> <h1>yzhooo</h1> <h1>yzhooo</h1> <h1>yzhooo</h1>](link url)
  • 0 Votes
    9 Posts
    11k Views
    S
    @Terry-R While waiting for a FAQ on it, you’ll find more fun \G discussion here !
  • NotePad++ Keeps changing my numbers into symbols or letters?

    Locked
    9
    0 Votes
    9 Posts
    4k Views
    Zach DeckardZ
    @Meta-Chuh it is
  • Emptied files

    Locked
    2
    1 Votes
    2 Posts
    896 Views
    P
    @Benjamin-Frugoni-Backhaus , What is your Notepad++ version?
  • change how many lines down the Left side number list starts?

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    sadicusS
    Thanks!
  • How to scroll horizontally using mouse wheel?

    4
    0 Votes
    4 Posts
    2k Views
    Andy LiuA
    @Andy-Liu said: Thanks for replying. You mean shift+mouse scroll wheel? I tried and the window doesn’t move at all, not even vertical.
  • How to install TextFX plugin in v7.6 64 bits

    Locked
    2
    0 Votes
    2 Posts
    28k Views
    chcgC
    TextFX is just available for 32bit, not for 64bit. Furthermore there is no maintainer for TextFX. See https://stackoverflow.com/questions/12699833/textfx-menu-is-missing-in-notepad. You may want to be a beta tester for https://github.com/HQJaTu/NPPTextFX/tree/VS2017-x64/bin/x64
  • Regex to replace second value with first value in XML

    Locked
    3
    1 Votes
    3 Posts
    1k Views
    Ben HumpertB
    @Scott-Sumner That works perfectly. Thank you very much! I now see how wrong I was with my approach ;) 00 Required\ is the directory the files are stored in(side the zip file) but after extraction / installation they don’t need to be in 00 Required\ since this is just for keeping the zip archive clean.
  • Npp Snippets plug in and plug in manager

    9
    0 Votes
    9 Posts
    6k Views
    O
    I have the Npp Snippets installed OK on my Notepad++ 7.6 (32 bits) My structure is: The directory: “**C:\Users\YOUR_USER\AppData\Local\Notepad++\plugins\NppSnippets**” has the file: NppSnippets.dll The directory: “**C:\Users\YOUR_USER\AppData\Local\Notepad++\plugins\NppSnippets\NppSnippets**” has the files: Languages.sql NppSnippets.sql Template.sqlite Backup your files, specially this last 3 (Languages.sql, NppSnippets.sql and Template.sqlite) before puting into the second directory. PS: yes, the second directory has NppSnippets twice (first level has the DLL, second level has the config files)
  • 0 Votes
    1 Posts
    692 Views
    No one has replied
  • Find quotes and backslash

    Locked
    7
    0 Votes
    7 Posts
    3k Views
    Mária CsabaiM
    Dear Friends, with the specified search criteria, userid=“(NewPC\User\Maya|Computer\Home|XP\Admin)” I could replace all users. There were only 21 variations and I could find it and type it. Thanks again for everyone!
  • 0 Votes
    3 Posts
    12k Views
    George FanG
    That works, thank you so much Scott :-)
  • 0 Votes
    2 Posts
    1k Views
    edsel42E
    CORRECTION – The problem discussed above occurs in BOTH the Administrator and Standard User accounts. How to fix???
  • How to change cursor from horizontal back to vertical?

    Locked
    3
    1 Votes
    3 Posts
    147k Views
    Sinbad AlexandrosS
    Thank you. I didn’t realized I ever hit the insert key at all. I have never actually used it ever before.