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

2
votes
1answer
5k views

Find Files That Contain Both Words in Notepad++

In Notepad++ (v5.9), I want to search for files which contain two words. For example, I would like to find all text files in a directory that have both Alpha and Bravo in the file. They may not be ...
1
vote
2answers
3k views

Notepad Merge 2 lines into 1 line

Sorry for my rough English, I try to visualize my question. I have two lists of words, one per line, each list in a separate file: File 1: white fehér green zöld red piros File 2: ...
9
votes
2answers
19k views

How can I use the Lucida Grande font in Windows?

I'm a Windows user but I want to use the Lucida Grande font in Notepad++ and Eclipse IDE. I didn't find that font listed for Notepad++ when I tried to change the font in the style configurator. ...
4
votes
2answers
4k views

Vim style cursor movement for Notepad++

I was just wondering if there was a way to get "vim" style cursor movement (i.e. 'hkjl' movement). After spending much time with vim, I have gotten used to not having to lift my hands off the keyboard ...
13
votes
2answers
7k views

How can I indent the wrapped text in Notepad++?

How can I change Notepad++ setting so that wrapped lines gets indented automatically? Right now I have something like this: some text that wraps to next line some indented text that also wraps ...
6
votes
3answers
7k views

Replacing all special/accented characters with equivalent regular characters in Notepad++

I'm trying to figure out a way to automatically search and replace all special/accented letters/characters (such as Â/Ô) with the equivalent regular letters/characters (A/O) in Notepad++. Tried using ...
3
votes
2answers
1k views

Can Notepad++ show pagebreaks (Win 7)

How, if even possible, can you set Notepad++ to view page-breaks? This can be done in Microsoft Word in the page-break view.
2
votes
2answers
6k views

How can I configure notepad++ to indent spaces consistently?

Let's say I have this bit of code in Visual Studio 2010: If I open this in Notepad++ it looks like this: See that argument2 it out of alignment. It is not super clear but in Notepad++ you can ...
5
votes
3answers
12k views

How to make regex match across multiple lines in Notepad++?

I have a javascript file with millions of lines. The problem is that IE doesn't support , (comma) followed by } (curly close bracket). In Notepad++ I'm able to find all the commas which are being ...
1
vote
2answers
810 views

Regex to filter lines that don't contain coordinates in Notepad++

I have a text file: ===================================================================================================== --NUO--- --IKI- ATSTUMAS MAKS. NUKRYPIMAS ...
5
votes
1answer
3k views

Notepad++'s pesky EOL Format switching — how to remove the invisible (default?) keyboard shortcuts Ctrl+M, Ctrl+J

Notepad++ lets the user specify whether the end of lines (EOL) format for a file should be entirely in Windows, Unix, or Mac formats. Notepad++ also remembers the EOL format type encountered in the ...
2
votes
1answer
224 views

Find Search Replace from landmark to landmark - including everything in between

I have the following string >gi|374638939|gb|AEZ55452.1| myosin light chain 2, partial [Batrachoseps major] AAMGR Repeating sporadically throughout my document and want to remove everything from ...
0
votes
1answer
725 views

Notepad++ Explorer Plugin not showing all Partitions

My PC has 3 partitions C, U and A. I installed Explorer Plugin in Notepad++, it shows the two partitions properly. But for some reason the third partition is not there. I have a lot of project files ...
11
votes
2answers
16k views

Export all regular expression matches in Textpad or Notepad++ as a list

In Textpad or Notepad++ is there an option to export all the matches for a regular expression find, as a single list? In a big text file, I am searching for tags (words enclosed in % %), using ...
1
vote
0answers
666 views

Nested/multiple brace-matching in Notepad++

In Notepad++, is it possible to force all (or at least the 3 or 4 deepest) pairs of braces/brackets/parens/etc. that enclose the cursor to become highlighted? Preferably in different colors for each ...
0
votes
1answer
48 views

Select different parts of an line

I'm new to regexes and have a file that looks like this one: |60|493,93|1,6500| |60|95,72|1,6500| |60|43,88|1,6500| |60|972,46|1,6500| I used the regex (\|60|.*)(1,65) and I was able to find all ...
0
votes
1answer
148 views

Notepad++ saving to a full hard drive

I do a lot of my web development in Notepad++ on a Windows XP machine. The development happens on a remote server (Windows 2003) used for a variety of jobs, so it often fills up. When the hard ...
58
votes
5answers
93k views

How do I set Notepad++ as the default editor?

I want set Notepad++ as the default editor. I tried to set it by right-clicking on a file, then Open With. But I did not see Notepad++ in the resulting list (even after clicking on Choose Other ...
0
votes
2answers
258 views

How to replace '|' in Notepad++

I have too many records which ending as below : en-US||||| But i wanted them to be replace to new line let say en-US newline Note text en and US are different in each records, the ...
0
votes
1answer
80 views

Having two way view in notepad++ of different logs

I am working on a application of which different logs are created and and these logs are getting updates parallely now I want open two logs sententiously that I can do in notepad++ in different tab ...
2
votes
1answer
372 views

Adding a new operator symbol to a custom language in Notepad++?

I'd like to create a custom operator for a custom language I'm highlighting in Notepad++. Has anyone done this in the past? A special character that often comes up in my language is the yen symbol (¥...
0
votes
1answer
146 views

Delete Lines that contains string NULL

I'm trying to remove all lines that contains NULL, using Notepad++ as follows: Line: NULL,123456789333333 regular expersion I tried: Find: ^.*NULL.*$ replace with: (blank, nothing) it ...
1
vote
1answer
4k views

Notepad++ XML Auto Indent + Tag Closing

I'm migrating a question I posted on stackoverflow to here as it may be more relevant. Here is the question: I'm looking for a way to code XML (mxml, specifically) in Notepad++ such that it follows ...
2
votes
1answer
732 views

Notepad++ find in files filter for files with no extension

I'm using Notepad++'s "Find in Files" functionality to find specific text in a large number of text files across a large number of directories and subdirectories. I understand how to specify file ...
0
votes
1answer
479 views

An explorer pane in Notepad++? [closed]

I'd like to have a Windows Explorer-style left pane in Notepad++. Is there an add-on or plugin that accomplishes this?
1
vote
2answers
231 views

Closing right/left tabs in Notepad++

How do you close all the tabs to the right/left of the current tab in Notepad++? Is there a plugin or an autohotkey script that can achieve this?
1
vote
1answer
132 views

Notpad++ colorizing for a particular file extension?

For example how can I set Notpad++ to open .csl files as xml files?
3
votes
4answers
5k views

File switcher sidebar in Notepad++ 5.5

I would like to know how to get a vertical file switcher on the left side i.e. in the left sidebar in Notepad++ 5.5? I would like to have something like this as shown from the gedit editor?
0
votes
1answer
185 views

Match (highlight) invalid Hungarian notation variables syntax

We follow our own defined coding standard (Hungarian notation) as per our checklist, using Notepad++: Check that all variables are valid according to Hungarian notation identifier naming convention, ...
3
votes
2answers
9k views

Remove XML node in Notepad++

I have a large XML with the structure below. Now, I want to get rid of the <tuv xml:lang="en-GB"><seg>CONTENT</seg></tuv> nodes, so for each unit only the de-DE part stays (<...
1
vote
1answer
626 views

Prevent inadvertent replacement in notepad++

Is there a way to make Notepad++ to ask for confirmation when replacing all instances of a string in a file or files? This is to prevent inadvertent replacement.
1
vote
1answer
151 views

Search and replace using regular expressions

I want to edit the text: appriskid = models.IntegerField(primary_key=True) app_name = models.TextField() identifier = models.CharField(max_length=150) version = models.CharField(max_length=60, blank=...
12
votes
2answers
2k views

Sane control-tab behaviour in Notepad++

How can I make control-tab (and control-shift-tab) behave sensibly Notepad++? I would like these shortcuts to behave as they do in my web browser, ie. control-tab moves focus to the next tab to the ...
1
vote
1answer
318 views

Error code 2 when compiling a cpp file in notepad++

I'm using this code cd "$(CURRENT_DIRECTORY)" g++ $(FILE_NAME) -o $(FILE_NAME).exe to run a cpp from notepad. What I had expected to run was g++ FILE_NAME.cpp -o FILE_NAME.exe But g++ FILE_NAME....
8
votes
1answer
7k views

Creating special commands for Notepad++ using NppExec

Notepad++ has a convenient timestamp facility built-in with the choice of short or long formats, but both use the built-in date format of the computer they're on, showing either the month first (if U....
0
votes
3answers
3k views

Running python / ruby interactively from within Notepad++ (NppExec console)

I've been using the NppExec console in Notepad to run python and ruby scripts using python script_name.py or ruby script_name.rb, and for the most part this works well: the output gets redirected into ...
12
votes
1answer
61k views

How would I replace a “TAB” in Notepad++?

I'm attempting to format a giant list. Each entry in the list is separated by a tab. I'd like to replace it with a \r\n in Notepad++. How would I got about this?
1
vote
1answer
780 views

Replacing 12 hour format date and time in Notepad++

I'm trying to remove the date / time stamp from text in the following format: Randomtext - randomtext 9 Aug 5:55am 2nd line of random text - 2nd randomtext 15 ...
2
votes
6answers
2k views

Open file with existing instance of Notepad++ portable

I have Notepad++ portable "installed" and if I try to open a file from Windows Explorer that should open with Notepadd++ portable I get the error Another instance of Notepad++ is already running. ...
5
votes
1answer
417 views

How do I abort a long-running regex replace?

Edit: While I refer to RegEx in my background, I'm not looking for you to fix my RegExp (thanks for trying though) - rather I want to know "how do I abort a search/replace in NotePad++". ...
3
votes
0answers
4k views

Adding 1 Incrementally in Search & Replace in Notepad++

I have a file that I want to extract data out of. I normally use web scraping to get the info I need, except in this case the information isnt readily "visible" for scraping needs. Reason being -- ...
3
votes
2answers
21k views

How to remove the first character of every line in Notepad++ [duplicate]

Possible Duplicate: delete first 27 characters from every line notepad++ I managed to find an answer to remove the last character from every line in Notepad++, but now I need the same solution ...
1
vote
2answers
2k views

How can you get the specific spaces you want to remove in notepad ++

Example: I want to remove the space I want to remove the space I want to remove the space How can I remove the word SPACE so that the three sentences will be a complete thought. Is there a ...
2
votes
2answers
585 views

Regular Expression Help Needed in Notepad++

I need to know the syntax for a regular expression (notepad++) to help me find/replace every instance of following string in a text document the string is as follows Where do you want to go next? ...
4
votes
1answer
512 views

Make floating window tab widths wider in Notepad++

How can I make the floating window tabs wider/static width in Notepad++ (version 5.9.6.2)?
1
vote
1answer
2k views

Porting Notepad++ syntax to Sublime Text 2

What's the best way to convert a Notepad++ style into a Sublime Text/Textmate syntax?
8
votes
2answers
2k views

Is there a way to turn off popups in Notepad++ macros?

I created a macro in Notepad++ that cleans up imported data through a series of regex search and replace iterations. This works well, but at each step, I get a popup telling me how many instances ...
30
votes
3answers
15k views

Open two instances of Notepad++

I have a question about notepad++ I want to run notepad++ twice. Like in this paint printscreen How I want it: Not what I want: Is this possible?
0
votes
1answer
57 views

Expression to replace a section of test

I have a large xml file that I'm trying to replace text in and would like to replace sections of the test with other text. Below are example tags that I would like to modify. The section of each tag ...
2
votes
1answer
683 views

Interactive regex find highliting in Notepad++

How can I make Notepad++ highlight my regex matches as I type?