Hot answers tagged

3

For the specific example you gave you could use the Find/Replace window with a regex. In the "Find what" box: (.*\*.*\*).* And in the "Replace with" box: \1


3

You can use the RegEx find and replace option. Search for ^\s*(\w.*)$ Replace with \1 Explanation: The search is: ^ - Beginning of the line \s - A whitespace character * - 0 or more of them ( - Begin a capture group \w - A word character ([a-z] or [A-Z]) . - Any character * - 0 or more of them ) - End our capture group $ - End of the ...


2

In the Search menu, click the Replace command. In the dialog, enter your word in "Find what", clear the "Replace with", check the "Whole Word Only" and/or "Match Case" checkboxes if required. Then click "Replace All".


2

List files and sort them manually Notepad++ I need to ORDER (sort) manually some of these files… I´m stuck! Anyone knows a good plugin for that or how to resolve it? I need to have an easy list with all my files and can sort them (change position) as I need. For example, move x file close to y file to not stay “jumping” from one part of the ...


1

You are not overlooking anything, This feature is not implemented yet. There is feature request #946 registered for this issue. Keep an eye on it to see when it gets implemented. While it is missing, you can use several workarounds, but there is no direct way of reordering files in the list ("Doc Switcher") you are asking about.


1

For more flexible, you can install the NppExec plugin. The easiest way to install it is through the built-in Plugin Manager: Select Plugins / Plugin Manager / Show Plugin Manager Put a checkmark next to NppExec Click Install After that, the fun begins. This tutorial is a good starting point on how to use this powerful plugin: ...


1

There's so many ways for achieving this. I'll stick to the ones that uses Notepad++ for now Notepad++ > Search > Find in Files and go from there adjust the mask or make backups, and read your option this WILL replace all files in sub folders by default OR for more advanced search and replace Notepad++ > Plugins > Plugin Manager > Show Plugin Manager now ...


1

You can use the RegEx pattern: [\x00-\x1F]+ To remove all low ASCII chars:


1

Your example is very specific and my not be accurate, but assuming it is ... <space>Insert or <many spaces><some value> You want to leave the single space lines alone, remove \n from the rest. Menu "Search" > "Replace" (or Ctrl + H) Set "Find what" to "\n[space][space]*" Set "Replace with" "[nothing]" Enable "Regular expression" ...



Only top voted, non community-wiki answers of a minimum length are eligible