Notepad++ is a free source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License.

learn more… | top users | synonyms

6
votes
1answer
663 views

How can I make Notepad++ actually start maximized?

When I start a new instance of Notepad++, its window is always slightly larger than the screen, not actually maximized. That really bothers me because I have two monitors, and the extra size spills ...
0
votes
1answer
11 views

Adding specific line after findinga pariticular line

I have huge codebase containing 400-500 files. In most of the files we have this kind of lines, <cfcatch type="any"> / <cfcatch type="database"> / <cfcatch> etc. So the common ...
0
votes
1answer
21 views

notepad++ - How to choose editor background color for a specific language?

How can I set the background color of the editor for a specific language in notepad++? I know there are similar question on superuser but they don't solve the following problem I have: If I change ...
0
votes
0answers
14 views

How to duplicate all bookmarked lines in Notepad++

I would like to go though all bookmarked lines and duplicate them. This would be an automated way to pressing F2 then Ctrl+D. I've tried macros and two \1 with find and replace with regular ...
0
votes
1answer
16 views

How to remove lines starting with specific character?

I need to remove all lines starting with number 8. My document contains few hundred lines. All starting with the number 8 need to be removed.
0
votes
0answers
11 views

How to wild-card search/replace in a Specific Area of code in Notepad++

again, I need to automate some content prepping of enormous docs. Here's the sample of what I have: <style tag> Name Description Name ------ ...
0
votes
2answers
31 views

how to add control charecter CR to the end of line in notepad++

How can I add control character CR with notepad ++ to the end of all lines in ones. File containing informations such pictures graphs videos.There are two control character CR and LF in the file that ...
0
votes
0answers
8 views

Delete set of lines in multiple .dat files in Notepad++

I tried searching for a solution but the exact situation was never desribed. Is it possible to delete lines 1 to 85 in multiple dat files with FindReplace in Notepad++?
1
vote
1answer
23 views

difference in two strings by substring search

Do you think it is possible with notepad++ to do difference of two strings on a substring level?? Check if any element from list1 exists in list2. If so remove it. At the end return only those ...
0
votes
1answer
19 views

notepad++ don't show the right character despite the right encoding

My UTF8.txt file display all other Unicode characters fine but not the x̄, it show instead a"x" and it's top dash "-"on the right (and not above the x). (When I copy past this x- from np++ to chrome ...
0
votes
0answers
12 views

notepad++ multi-instance settings - what is “open session in a new instance of notepad++”?

What is the difference between "open session in a new instance of notepad++" and "always in multi-instance mode"? I'm not seeing behavior differences.
0
votes
0answers
38 views

Replace multiple words in multiple files

I am using Windows 7. I need to replace multiple occurences of multiple words in multiple text files. For example, suppose there are 20 files. I have a list of words to find, and the words to replace ...
0
votes
0answers
13 views

Show columns from a tab delimited text file in notepad++ [duplicate]

there is an Question of how to select a tab delimited column in Notepad++, but I would like to see the columns, i.e. ajust the tab width so that White space is introduced in order to prevent ...
0
votes
2answers
30 views

How to remove styling for text files in Notepad++

If I open a text file in Notepad++ it defaults to formatting some elements such as numbers, text between apostrophes, backslashes etc. How to I tell N++ to display .txt files with none of this ...
1
vote
1answer
26 views

Merging 3 lines in one with normal spacing between words in notepad++

I have an output of three lines that I want to merge in one line in notepad++ and be able to copy and paste it in excel in one cell (of course the cell will be stretched). Ctrl + J normally does this ...
0
votes
0answers
13 views

How do I change the delimiter options in smart highlighting in Notepad++

Is there a way to change the delimiters for smart selection in notepad++ Eg: Currently in following line only "linklist" word get smart highlighted. /home/austin/Cprogram/testcode/linklist.c but in ...
0
votes
0answers
23 views

Notepad++ one instance per each virtual desktop

I have problem with opening .txt file on windows-10. Notepad++ is default program to open .txt files, but when there is notepad++ application already running in other virtual desktop OS will ...
0
votes
1answer
15 views

Replacing a Incremental number text with constant text

I have a XML file I have replace some text like: <instance instanceCode="ZTEST999523" objectCode="ZTEST999523"> <instance instanceCode="ZTEST999523" objectCode="ZTEST999524"> <instance ...
0
votes
1answer
15 views

Notepad++ Regular Help list

Hi i have my list like this : Name | Surname | email | Name | Surname | email | Name | Surname | email | Name | Surname | email | I want to copy all email like this : email email email email How ...
1
vote
1answer
24 views

Sorting Text alphabetically using last word before comma

I'm currently ordered to sort a list with ~250 entries alphabetically. Problem is: Not using the first word(s), or a specific column, but using the last term before the first comma: [li]title ...
7
votes
4answers
291 views

How to run a HTML file from Notepad++?

I'd like to run a HTML page so I configured the Execute / F5 command as following: chrome.exe http://localhost:8080/$(FILE_NAME) It works when the HTML file is located in the root of my Workspace ...
0
votes
0answers
11 views

See specific shortcut binding or sorted list of shortcuts defined in Notepad++

In Notepad++, I'd like to modify key bindings easily, rather than having to guess which bindings are not already being used. Paging through the Shortcut Mapper or even looking at the list of default ...
1
vote
3answers
33 views

Notepad++ regex not working

I am trying to use Notepad++ and regular expressions to remove all XML from Windows' events. My regular expression is as follows: Event Xml:(.|\n)+?Event>\n Example Windows events are as ...
1
vote
1answer
19 views

How to remove everything after a word

How I can remove everything after domain.com/? Example: csa.domain.com/blsbls/lsads asd.domain.com/blabla bsa.domain.com/blsbls I want to to remove everything after domain.com/ so my result will ...
0
votes
2answers
34 views

How can I delete everything else from my txt except hungarian texts?

I have a localisation file from a game, and unfortunately, this file conain all localized language, but I only need is, the hungaryan texts from them. I would like to make a video series from this ...
-2
votes
0answers
43 views

Notepad ++ (REGEX); Invert Selection,

Notepad ++ (REGEX); Invert Selection, The following 2 different codes, it works very nicely. :) now I want to combine these two different code! \bhttps?:[^)''"\s]+.(?:jpg|jpeg|gif|png) ...
0
votes
1answer
9 views

Strange issue with UDL2.0 (notepad++) regarding numbers at the end of strings

I'm currently at the tail end of writing some custom syntax highlighting for a language that is a mixture of lua and xml (don't ask). As it's lua contained within xml nodes, lua code is required to be ...
0
votes
0answers
59 views

Notepad++ FTP Failure retrieving contents of directory

I've used NppFTP before and it worked fine until an update. I use it to work on a website for one of my classes. Connected -> CWD / 250 OK. Current directory is / -> PORT 192,168,1,74,71,120 ...
3
votes
3answers
111 views

remove leading 0 in front of decimal except when a a non-zero number precedes it

I have a column, which has a comma separated values inside each cell that look like this 0.1, 0.2,0.3, 0.4,0.5, 0.8,1.0 1.5, 1.6,2.0, 10.6,10.9, 15.2,30.75 20, 0.25,280.2, 0.29,300.2, 423,530.76 ...
0
votes
1answer
11 views

How to copy file (as in file handle, not contents) to clipboard from within SlickEdit or Notepad++

I'm wondering if there is built-in or plug-in functionality for this feature for either of these apps. I'd like to be looking at file open in SlickEdit or Notepad++, and then either from a menu or ...
0
votes
0answers
10 views

Possible to use RegEx and Notepad++ to compress repeated words to word counts

I would like to use NotePad++ Find and Replace with RegEx to essentially compress data in a text file. I have data which contains repeated adjacent words such as: [dog][cat][cat][dog][cat] I would ...
0
votes
1answer
51 views

add space after nth commas in Excel, Notepad++, or emEditor?

Notepad++ 6.8.8 I want to be able to turn several lines that start like this: 0,2,3,45,67,89,01,234,567,890,123,4567,8901 0,7,8,9,0,11,12,13,14,151,162,173,184 x,z,q,r,n,f,t,a,e,f,z,n,a into 0, ...
-1
votes
1answer
19 views

Notepad++: Prefix every line; start every line automatically with

I want to automatically start every new line in Notepad++ with a string, for example 0. I don't want to "replace", I want to prefix. How?
1
vote
2answers
27 views

notepad++ delete all lines in files except specific line

I need to delete all the lines from around 30000 files and leave only a specific line (number 272). The content of the line is different for each file (string of numbers). I've spent quite some time ...
0
votes
1answer
19 views

Notepad++ shortcuts don't work with custom keyboard

I use a custom dvorak keyboard layout that I made in the Microsoft Keyboard Layout Creator. It's basically Dvorak, but I have it mapped so that when I press ctrl, all the keys get remapped to their ...
1
vote
1answer
38 views

How to keep highlighted text in notepad ++ even if I restart my computer?

I want to highlight text in my notepad++. I already use the mark option. But it is not permanent. Whenever I restart my notepad++, all the markings are gone. Is there any solution that my highlighted ...
0
votes
0answers
16 views

How can I delete every thing after specific character?

How can I delete after "/view"? Anyone please help me :'( Input: ...
0
votes
0answers
22 views

How to export with style token (highlight) in notepad++

I'm using the notepad++ style token to analysis my trace data, and I need to export the content to MS word. The problem I am facing is that, the nppexport will not carry along the **style token* ...
0
votes
0answers
18 views

Notepad++ If a line contains a word replace line a certain distance below with a phrase

I'm pretty sure this is possible, and I think it involves Regex, but I have no clue how regex formatting works, and I haven't been able to find the expression I'd need anywhere yet. Basically I've ...
0
votes
1answer
22 views

Notepad++ autoclosing tags that don't need it. How to turn off?

I just started learning HTML and am using Notepad++. I love the feature of autoclosing the tags, saves me a lot of time. I was wondering if there's a way for it to not autoclose the tags that don't ...
0
votes
0answers
90 views

Batch File to Set Default Programs Without Invoking the Registry

Our organization has the Chrome policy enabled for setting Chrome as the default browser. This setting is mandatory, and cannot be disabled like many of the other policies we have that are ...
0
votes
0answers
16 views

Notepad++: I messed up with encoding of a file

I messed with up encoding in Notepad ++ probably by editing the same file by standard notepad.exe and/or by switching encoding in Notepad++ itself. However, almost everything looks good but some text ...
0
votes
2answers
15 views

Find dialog, SHIFT+ENTER to search in other direction?

In Notepad++, in contrast to most other editors, I cannot use SHIFT+ENTER in the find dialog to search in the different direction (prominently used, to go back to the previous find position). Is ...
0
votes
0answers
9 views

Ignore whitespaces at the end of line during editing in Notepad++

Is it possible to make Notepad++ ignore whitespaces in the end of lines during editing. So that if you press "end" key it will move caret to the last non-whitespace in line. Or do you know other ...
3
votes
2answers
30 views

Notepad++ RE Search and Replace

Can someone explain why the following record: 1234 4567 blahblahblah becomes blahblahblah When Search/Replace applied (NP++ v6.9) with: Replace:^\d{4}\h with:(nothing) (Reg Exp) radio on Any ...
0
votes
1answer
29 views

Notepad++ Compare Plugin has lines of unequal size

I am using Notepad++'s "Compare" plugin - which is incredibly useful for comparing code chunks... however I have just recently noticed that while using this handy tool, the lines do not line up side ...
0
votes
1answer
18 views

Notepad++ Replace hint for text file

i'm having some trouble about replacing option string. I need to replace <option value="91">Afghanistan</option> need to become <option ...
1
vote
2answers
37 views

Underscore appears instead of space when typed in Notepad++

When I type space in Notepad++, an underscore appears. Can you help me with this issue?
0
votes
0answers
28 views

How to reorder tabs in Notepad++ using keyboard?

In Notepad++, is it possible to reorder tabs by moving current tab to the left/right using keyboard, similar to Ctrl+Shift+PageUp / Ctrl+Shift+PageDown shortcuts in Firefox?
0
votes
0answers
12 views

“close all” window results search notepad++

in notepad ++, there is a window of search results. when to call it a context menu, there is a button to "open all" I need a button to "close all". whether there is such an opportunity?