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

1
vote
2answers
28 views

Regex to select only specific number of spaces

I am using notepad++ and I want to do a find & replace operation. For example 4 number of spaces means 1 tab 6 number of spaces means 2 tabs etc. In my file all the spaces are in the ...
1
vote
1answer
26 views

add-select next match in Notepad++ (like ctrl-d in Sublime)

I am searching for a way to use the following functionality in the open source Notepad++. In SublimeText if you press ctrl-d (mac: cmd-d I think) this happens: If there is no selection then the ...
41
votes
2answers
68k views

How to remove linebreaks in Notepad++?

For example, this: This text has been splitted in lines, and it's longer than 3200 words, so it would be great to find and replace line breaks like these.
0
votes
0answers
6 views

Notepad++ NppExec plugin only reads the last line

When I copy/paste a multiline input into the NppExec console, my program only receives the last line. Is there a way to make NppExec send the entire input to my program?
0
votes
1answer
12 views

How to know cursor position index in an editor

I'm working with an HTML file, and I need to know my cursor position index in the overall file. In Visual Studio, I can see the line number and column number in status bar. In Notepad++ too, in the ...
0
votes
1answer
11 views

How to select lines containing (only/at least) 3 commas?

I have a text document which contains some lines with 2 commas and some lines with 3 commas. I want to select all lines with 3 commas. How can I do that? Here is an example document : ...
2
votes
3answers
3k views

Default save extension in Notepad++

I see Notepad adds .txt to the save name I choose. I can change this by changing file type when saving. But, next time I must change the file type again. How do I choose the default file type? I see ...
1
vote
0answers
12 views

Is there a program for Chrome that lets you upload files to an FTP server?

I am using notepad++ and have been trying to upload files to my ftp server. I am getting exceedingly frustrated by not being able to do this. Whenever I click connect, I see the following output ...
1
vote
0answers
20 views

How to replace only text in a selected column

When I select some text in a column, replace/in selection will become grey. How can I replace text only within a column of selected text in Notepad++?
5
votes
2answers
9k views

How do I create my custom “User-Defined” language in Notepad++?

In Notepad++ there is a menu option: Language->"User-Defined". How do I customize that? What are capabilities of such option? Can I highlight date/time? Can I highlight 21-29th symbols in the ...
1
vote
2answers
28 views

Remove lines containing only a word and a number ? (notepad++, regex)

I have several hundreds of .txt files from which I would like to remove the lines where only the word "Volume" followed by a number appears. The word "Volume" may appear several times in each text ...
2
votes
3answers
4k views

Extract/delete all other text than whats inside quotation marks (“ ”), and after string

I'm have a very big data output in a .txt file that looks like this: value1="1",value2="2",value3="test3",value4="4" value1="1",value2="2",value3="anothertest3",value4="4" ...
2
votes
1answer
27 views

Replacing strings of (Hexidecimal) zeros in Notepad++

I have binary code that have 4 sets of zero strings (00 00 00 00) and also have sets of 3 (00 00 00). I want to get rid of the sets of 4. (replace with nothing.) When I do 00 00 00 00 in "find", it's ...
0
votes
2answers
52 views

FTP is corrupting files since a few days

Since a few days, every ftp upload I run corrupts files over a certain size, mostly after 400 - 500 lines of code, the file breaks, starts all over from the beginning, and then after a few lines ...
1
vote
1answer
19 views

When I go to use the letters C, A or the directional pad it doesn't work

In Notepad++ when I use the C key a box appears that has the title "Column/multi-selection editor". I was using Notepad++ yesterday but now when I want to type "class", it doesn't work, but when I got ...
6
votes
1answer
4k views

How can I copy binary data in Windows (preferably with Notepad++)?

I want to duplicate some binary data (not in code, but by hand). The normal Ctrl+C doesn't work in my editor (Notepad++), it copies data only up to the first NUL char. Is there any workaround?
1
vote
2answers
64 views

File getting corrupted when uploading with Filezilla

I have been using Filezilla for a long time, but this morning something strange started to happen when i upload from local to server. When i upload file using Filezilla files are getting curropted. ...
37
votes
2answers
19k views

Notepad++: Ctrl-S does not Save, instead inserts [DC3]; Ctrl-F inserts [ACK]

I've been using Notepad++ more as my primary code editor. Just a few minutes ago, however, I accidentally pressed some combination of keys (no idea what I pressed) and suddenly my standard shortcut ...
3
votes
4answers
5k views

How to open the tail of 8 GB log files using Notepad++ in Windows?

How to open the tail of 8 GB log files using Notepad++ In Windows? I used Notepad Document Monitor but don't quite get how to use it. I start monitoring and then what? How do I select the large file? ...
0
votes
0answers
15 views

Global userDefineLang.xml for notepad++

Notepad++ will automatically grab all user defined languages defined within userDefineLang.xml. No importing is involved. This file must be located within directory ...
3
votes
2answers
676 views

Asterisk (*) and plus (+) are not working in Notepad++ as a regular expression

I am using Notepad++ and learning regular expressions, but I am wondering why some of the meta characters are not working in the editor, that is, asterisk (*) and plus (+). For example: The tree ...
0
votes
2answers
34 views

Can you replace between two words? - Notepad++

I got this list and I want to replace everything between ".gif" with the number on the other side ".gif" needs to replaced with everything between > and .gif on the same line So you got ".gif" and ...
0
votes
0answers
19 views

Concatenating varying number of lines notepad++

I have a file where i need to take varying number of lines and concatenate into one. It could be two, three, or four lines that require concatenation. There is a common set of characters (say 'xxx') ...
1
vote
1answer
16 views

Saving “Find result window” in Notepad++

I used notepad++ 6.7.5 to do several searches on a number of opened documents. I did this with the "Find All in All Opened Documents" command and this showed the Find result window/pane with all my ...
1
vote
1answer
18 views

Is there a shortcut for showing (or hiding) all characters in Notepad++?

If find seeing all characters useful in the following two scenarios: When I want to see the characters which start a newline CR (\r) and LF (\n) For checking a python code for tabs and 4 spaces ...
9
votes
8answers
9k views

Notepad++ Installation Error

When installing Notepad++ on Windows 7 64-bit, I receive this error: Error opening file for writing: C:\Program Files (x86)\Notepad++\langs.model.xml Click Abort to stop the installation, Retry to ...
2
votes
0answers
2k views

How do I enable the Cloud settings in Notepad++ 6.6.7 for Windows 8.1 Update 1?

I updated to Notepad++ 6.6.7 and wanted to move the settings to my OneDrive. But when I open Settings->Preferences->Cloud, the DropBox and OneDrive options are both disabled. How do I enable them? ...
-3
votes
1answer
23 views

I need help in selecting entire multiple lines that starts with unpackcontainer & copy that text to different text file in Notepad++

I need help in selecting entire multiple lines that starts with unpackcontainer (as shown) & copy that text to different text file in Notepad++ on Windows: unpackcontainer -s ...
1
vote
2answers
28 views

Is there a way to change the look of the expand / collapse boxes and lines in Notepad++?

I was wondering if anyone knows of a way to change how the Expand / Collapse boxes and lines look in Notepad++. For example currently when you place your cursor within a xml or html tag, Notepad++ ...
0
votes
1answer
63 views

Notepad++ ; How to remove pending action

Every time I start NotePad++ there's a popup saying: there are still some pending actions to complete installing or removing some plugins I was trying to install Plugin Manager, but I ...
2
votes
3answers
7k views

Quickly increment selected numbers in Notepad++

I'm working on a plain text configuration file that has a configuration key format of <type name>_<#>_<Subcomponent name>=<value> To be a little more clear, the ...
1
vote
1answer
158 views

Notepad++ does not print to console from perl script

I have following perl script: print "test: "; my $input = <>; print "result: ", $input; I made NppExec command in Notepad++: NPP_SAVE perl "$(CURRENT_DIRECTORY)\$(FILE_NAME)" When I run ...
1
vote
1answer
34 views

NPP problems with config files

Is there any way to stop Notepad++ from writing its config. files to every folder that I edit a file in. I've tried installing with default options only and it still creates that folder with its ...
0
votes
0answers
12 views

BiDi in notepad++

When we want to save a file in MS Word as txt, it prompts a window in which we can save the text as bidirectional (BiDi). Is there such a thing in Notepad++?
1
vote
0answers
20 views

Find in Files across Multiple Directories with Notepad++

Is there a way to search within multiple directories in Notepad++ in Find in Files I'd like to search the two following locations simultaneously C:\Views\ H:\Views\ Combining them with a comma, ...
53
votes
1answer
22k views

How to disable links in Notepad++?

Ever since a few months ago, Notepad++ now automatically makes clickable links whenever you type a URL. I hate it! It makes it much more difficult to edit html documents because instead of clicking in ...
166
votes
2answers
57k views

Assigning custom extensions to a language's syntax highlighting in Notepad++

In the current version of Notepad++ opening .sql files results in Notepad applying SQL syntax highlighting to it. I'd like Notepad++ to do the same for other extensions as well, is there some setting ...
0
votes
0answers
16 views

how to extract the text between two words in notepad++

<cons lex="B_cell" sem="G#cell_type">B cells</cons> <cons lex="human_peripheral_blood_lymphocyte" sem="G#cell_type"> <cons lex="human_NK_cell" sem="G#cell_type"> Above ...
0
votes
1answer
39 views

How do I fix line spacing in Notepad++?

I used CCleaner on my pc and restarted. After I restarted I opened Notepad++ and was told that config.xml was gone. Afterwards, my previous opened .txt document was opened but the font and spacing ...
7
votes
3answers
7k views

Open with Notepad++ as Administrator Context Menu

I'd like to add an "Open with Notepad++ as Administrator" context menu for all files to Windows 7. I've tried the solutions listed here: ...
0
votes
0answers
15 views

Find and export wildcard search in notepad++ or similar

I currently have several documents that I need to find specific information in. I need to export some dates (i.e. 22-October 12, 13-September 13) and put them on a separate file, is this possible ...
-1
votes
0answers
23 views

What Notepad++'s “TextFX Quick” tools do?

I was only able to use the Find/Replace one - the others don't seem to do anything and there is no manual that I could find online.
0
votes
2answers
16 views

Need help on cuting the entire row using notepad++

i have a file with below lines abc abc.domain.com 123 123.domain.com xyz xyz.domain.com I want to copy all domain.com lines to copy and paste is somewhere in excel. like this ...
1
vote
1answer
41 views

How to find the 5th word in a line in Notepad++

How would I go about finding the 5th word in a line in Notepad++? E.g., FILE1: column1,column2,column3,column4,column5,col6,col7 The result I am expecting is the cursor must be on the word ...
1
vote
1answer
43 views

Replace URLs in Notepad++

I have a list of over 3000 tweets in Notepad++. Almost all of them contain URLs, which I would like to replace. For instance: I am eating apples http://example.com/def and I like it What is ...
3
votes
2answers
407 views

Is there a way to make Notepad++ auto-complete words on {TAB} instead of {ENTER}?

Is there a way to make Notepad++ auto-complete words on Tab instead of Enter? Currently, if want to type, say, frame, then Enter to begin a new line, instead the Enter will select the first ...
15
votes
7answers
24k views

Notepad++ auto complete HTML end tags after </ (like Dreamweaver does)

In Dreamweaver typing </ will automatically close the last open tag, so you don't have to type it all out, and it helps if you aren't sure if you closed one or not. Is there a plugin that dose this ...
0
votes
0answers
19 views

Can't replace LF in NOTEPAD++

Others have said to use \r\n with enhanced search mode on but that doesn't work. There are LFs all over my document but I can't "find" them using any ASCII symbol for LF--^J, ^P, \r, \n, ...
0
votes
0answers
17 views

Delete shortcut mapping in Notepad++

I'm just trying to delete some of the keybindings in Notepad++ In the shortcut mapper, Settings -> Shortcut mapper .. I don't think I'll use many of these like SCI_WORDPARTLEFT, ...
3
votes
2answers
9k views

Fastest way to comment out multiple lines in Notepad++

In Eclipse it is possible to comment out multiple lines by selecting them and executing CTRL + /: // helloworld Is this possible in Notepad++ as well instead of typing // in front of an individual ...