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
1answer
4k views

Where is the TextFx option? [closed]

I have Notepad++ 5.9 installed. The TextFx option (between Run and Plugins) in the menu not visible. How can I actually get the IextFx plugin?
1
vote
3answers
230 views

How to find double linebreaks in Notepad++?

Take for example the following: This text file has many double linebreaks, What is the expression too find these?
23
votes
2answers
35k 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
1answer
146 views

how to get column markers with free text editors

Can someone please provide some tips on getting column markers to show (vertical lines) when viewing text files with fixed width column based data. (not csv). Notepad++, wordpad any freebie will do. ...
1
vote
3answers
698 views

Is there a “Close all documents” keyboard shortcut for Notepad++?

Using Microsoft Windows and having Ctrl + W to close the current window/tab in Notepad++, I was looking for a similar shortcut to close all documents/windows/tabs at once. What is possible is to ...
0
votes
1answer
455 views

Regular Expression Needed to Replace Javascript in HTML Files

I need a regular expression that works in Notepad++ to remove multiline javascript references in several hundred HTML files. The code I want to remove looks like this: <script ...
1
vote
1answer
6k views

Find and replace using wildcard character in Notepad++

I have very long list in this format: <option value="adf">Option 1</option> <option value="es3">Option 2</option> <option value="34f">Option 3</option> With ...
0
votes
1answer
602 views

Regular Expression to replace part of URL in XML file

I need a regular expression in Notepad++ to search/replace a string. My document (xml) has serveral thousand lines that look similar to this: <Url ...
2
votes
3answers
613 views

Remove lines ending with a specific format in Notepad++

I've got a simple array in Notepad++: bla.vmt" bla.vtf" bla_exponent.vtf" I want to get rid of the lines ending with .vmt and _exponent.vtf.
0
votes
2answers
485 views

How to ignore capitalization with RegEx in Notepad++?

Somebody knows how to ignore capitalization with regular expression in Notepad++? From shell it works as follows: egrep -i '^(FroM|SuBjeCT|DatE): ' filename.txt Thanks in advance.
2
votes
0answers
282 views

Which command line text editor has the closest keybindings to Notepadd++, Gedit, or Kate (or any modern CUA style editor)?

I'm looking for a text editor that has an amazing common user access (CUA) mode (or can be configured to have it) that resembles closely modern editors like Notepad++, Gedit, Kate, Sublime, etc. I've ...
0
votes
6answers
4k views

Add text to the beginning of every other line in Notepad++

What I want to do is: Add <title> to the beginning of lines 1, 3, 5, etc...(hundreds of lines in a notepad++ file) Add </title> to the end of lines 1, 3, 5, etc... Then: Add ...
0
votes
3answers
238 views

How to manipulate this string of text to make it readable?

I have this string in an excel file: 4603,2504603#;4616,2504616#;4617,2504617#;4519,2504519#;4620,2504620 (It's actually a lot longer than that, but the pattern is the same). I need to be able ...
1
vote
2answers
744 views

Delete specific number of characters after a specific string is found

I have several lines of code and I'm looking for a way to search for a specific string e.g. 'id0=' and delete it and all 10 characters after it, per line. I would prefer a way/macro/addon for ...
0
votes
1answer
446 views

Batch replace specific line #s in an xml with specific text (lines) from a 2nd xml file in Windows 7

First of, I'm not a Coder or Unix guy, I'm using notepad++ v6.18 on Win7, so I'd ask that you "dumb it down" for me please :) I've noticed that on the left side of each line within a notepad++ file ...
1
vote
1answer
59 views

Unsquish Text In Notepad++ 5.9.3

The text seems to be very squished horizontally together in my Notepad++. I have gone through the settings but cannot seem to find out how to unstretch it.
0
votes
1answer
145 views

How to have vim left-align indented lines (like is possible in Notepad++)

In Notepad++ there is a linewrap option that can be set to aligned so that indented, wrapped lines align at the same left margin. See also here: How can I indent the wrapped text in Notepad++?. Is ...
2
votes
1answer
5k views

How to get Notepad++ to open files properly in Windows 8?

For some reason in Windows 8 if I try to open a file in Notepad++ by either rightclick > "Edit witrh Notepad++" or by rightclick > open with > Notepad++ it will only bring NPP to the foreground, but ...
0
votes
1answer
525 views

How to highlight repeated occurrences of selection text in Notepad++?

I've been working with Notepad++ and a really wonderful feature of that is that it highlights repeat occurrences of selection text. But ever since I installed Notepad++ 4.1.2 that feature is not ...
2
votes
0answers
97 views

Is there a way to highlight selected string in both views using Notepad++?

Notepad++ highlights all occurrences of selected text in file. Is there a way to make selected text be highlighted in multiple views? For example. I have 2 views. In view 1 I have this text: one ...
0
votes
3answers
290 views

Regex to delete only one word in a phrase where multiple characters are matched in Notepad++

I have a recurring word that pops up everywhere in a page of my that is right built into an HTML page. And I want to delete this word and this word only everywhere by using Regex in Notepad++. The ...
4
votes
0answers
433 views

Same keyboard shortcuts for Notepad++ as in Eclipse

As a regular Eclipse user I found it very useful to adapt keyboard shortcuts to match the Eclipse ones (Such as this one: How do I make Notepad++ delete lines like Eclipse does?) However, as manually ...
3
votes
2answers
320 views

Getting the matlab r2009b multiline comment syntax highlighting in Notepad++

I have Notepad++ version 6.1.8 How can I configure it to highlight the matlab multiline comment %{ ... %} as a comment block? ---EDIT--- I read here that this feature was added to Notepad++ in ...
2
votes
2answers
217 views

In Notepad++, when i close a file and reopen it, 4 space tabs turn into 2 spaces. How can i fix this?

This happens all the time. It screws up my formatting... If i make a tab 2 times (8 spaces) it will turn to one tab (4 spaces) and 1 tab turns to 2 spaces etc. Does anyone know how to fix this?
-3
votes
1answer
82 views

Is there any way to replace “|” (L) character to “I” (i) with notepad++?

How to replace any l (upper/lowercase "L") to I (upper/lower case "i") from any word found lowercase or uppercase? EX: MAN SNORlNG should be MAN SNORING or lt's there... should be It's ...
3
votes
1answer
133 views

Highlighting subroutines in Notepad++

I would like to highlight the contents of IF statements in a slightly different colour from the background, so that I can see them more easily. Is it possible in Notepad++? it would be amazing to ...
1
vote
1answer
771 views

How to change PHP file icon set to open with Notepad++

I just installed Notepad++ and opened a php file using open with, I then checked off Always use selected program to open this kind of file in windows. The file has a notepad icon. How can I change ...
0
votes
2answers
315 views

How do I separate words in notepad++, Excel or similar?

Here is the data what I have got. Abdul Rashid a025684t@usa.nit 245 ST.CLOUD VILLAGi CT. # 101 MILPTTAS CA 73634 9600280136 and the output should be like Abdul Rashid ...
1
vote
2answers
717 views

How can I run an unsaved file?

Is there a way in notepad++ to use the "Run > Launch in ..." functions on unsaved files? If you do this, it just tries to open "{notepad++-Dir}\new 1", which doesn't exist of course. I sometimes just ...
6
votes
1answer
6k views

How Can I Find Nth Character in Notepad++?

From the following text, I'd like to find a n th character. For example, the 10th character is "u"`. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque ac arcu sit amet lorem ...
4
votes
3answers
4k views

How can I select everything between tags in Notepad++?

I am doing some langauge translations of an old HTML website so I am just pasting the new translations from a Word document into the old files. So I have to select everything between the tags (h2, ...
1
vote
0answers
409 views

download ftp folder using NppFtp in Notepad++

I need to download site from ftp. I have Notepad++, so I think I can use NppFtp plugin. I connected to ftp, but I don't see how I can download or copy all site or just any folder. Only when I select ...
2
votes
1answer
420 views

Can I turn off safety prompts on file close?

In Notepad++, I generally run with a bunch of text files that I am using temporarily. It's annoying that I have to click the confirm prompt when closing a file without saving. Is it possible to turn ...
1
vote
1answer
1k 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
2k 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: ...
7
votes
2answers
13k 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. ...
2
votes
2answers
2k 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 ...
9
votes
2answers
3k 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 ...
4
votes
1answer
3k 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 ...
2
votes
2answers
527 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.
1
vote
2answers
2k 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 ...
3
votes
3answers
5k 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
365 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
1k 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
190 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
351 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 ...
3
votes
2answers
4k 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
395 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
46 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
96 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 ...