2/18/2023 0 Comments Notepad ++ sort by name![]() So if you feel up to the challenge you can edit a file called shortcuts.xml. You now have it sorted as if every character was capitalised.Īfter supplying the answer in the previous post I realised it might be possible to combine all these steps into a macro, thus creating a “one-click” wonder. Then we’d need to remove the first portion by using the following Replace regex. Just bear in mind some characters such as have special meanings, so you may need to play with the combinations.Īt this point perform a normal lexicographical sort. Note I’ve used the hash #, but any other combination will work. So this captures each line, it then replaces the line with first a capitalised version, followed by a space, two hashes and another space and then the original line. Use the "Replace All button with wraparound also pre-selected. ![]() I’m suggesting using a regex to copy the entire line, and paste another “capitalised” version of it in front, followed by a number of special characters so it can easily be removed later in the process. However it will mean the file will grow to twice the size initially before it shrinks again. I believe another way is possible without using pythonscript (or other external plugins) etc. Is there any way to sort lines case insensitively on 64 bit Notepad++? Said in Sort case insensitive on 64 bit?:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |