

If no part ELSE exists, the colon is not necessary The two parts THEN and ELSE are separated with a colon : symbol Then, taking care to put the caret at the very beginning of the document, apply the following regex (all options deselected, except the regex mode button): Search: (?s)^\t\R\t brace symbols are not mandatory if the part THEN does not begin with a number This is doable via a couple of search and replace in regex mode.Īs a proof of concept, copy and place the following input data in a new window: So, as a workaround, the idea is to reformat that text in order to be able to apply the kind of sort provided by Notepad++. Hi has a sort feature, but can’t directly sort the quoted format. My English is very bad, I hope you can help me. New = month * 188.28 / 235.49 / 264.67% WHERE = Intern / Staff / Employee AND month >= 6 (as above, but I write briefly, but if it is possible to quickly change all 3 at the same time, it's very good) New = month * 169.69% WHERE = Employee AND month >= 3 New = month * 145.33 WHERE = Staff AND month >= 3 For example: New = month * 125.67 WHERE = Intern AND month >= 3 Is there any way to implement it?Īlso, I want to quickly change the values of bsalary, asalary, msalary, … according to a given formula. Now I want to rearrange all the data by, in ascending order (1, 2, 3, …). Restart npp and verify TextFX -> TextFX HTML Tidy -> Tidy: Reindent XML works.Hello, I want to quickly rearrange the order of the content in my XML file by, which is currently being confused, for example, below: Note that you need administrator privileges to do that. Right click Config folder -> Properties -> Security tab -> select Users, click Edit -> check Full control to allow read/write access. (credits: libtidy.dll by pasting the Config folder from an old npp package: Follow instructions in this answer.Īfter having a Config folder in your latest npp installation destination (typically C:\Program Files (x86)\Notepad++\plugins), npp needs write access to that folder.


After a restart of npp, the menu 'TextFX' should be visible. Install TextFX plugin: Plugins -> Plugin Manager -> Show Plugin Manager. I'll put a summary of all my actions once and for all. So I google for a solution, come to this thread, then with the help of few more so threads I finally fix it. It's been the third time that I install Windows and npp and after some time I realize the tidy function no longer work.
