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

7
votes
4answers
806 views

Can I sort the text after a certain character?

I have a large list I'm trying to sort but I'd like to sort the list from the value after a certain character. eg: 241&name=A 123&name=C 645&name=B So I'd like to sort the list ...
0
votes
2answers
50 views

Notepad++ comment all lines containing string or all bookmarked lines

I wanted to comment out some java code using Notepad++ e.g. StringBuffer sbTest = new StringBuffer(); sbTest.append("aaa"); sbTest.append("bbb"); sbTest.append("ccc"); sbTest.append("aaa"); ...
1
vote
2answers
21 views

How to merge list of words (remove duplicates)?

I am editing a long list of unique words (one word per line) in one text file. I used Notepad++ and TextFXTools to merge list of words, and worked OK. I would add new words at the bottom of the list ...
1
vote
4answers
40 views

How can I replace the first several characters on multiple lines in Notepad++?

I have a lot text, and I want to remove the first 4 characters in all lines, then insert a character at the beginning of all lines. How can I do this using Notepad++?
34
votes
6answers
4k views

How do I add a number at the end of every line in Notepad++?

I have 23,000 lines, and I need to add the number 1 at the end of every line. How can I do this? Right now: [line1]TEXT [line2]TEXT What I would want: [line1]TEXT1 [line2]TEXT1
2
votes
0answers
22 views

Keep lines below cursor in Notepad++

I use Notepad++ to edit transcripts and I'd like to keep the text cursor in the center of my screen instead of it reaching the last line at the bottom of notepad++ and me having to scroll down to show ...
1
vote
0answers
27 views

Need File Adjustement

I have a a huge txt file that looks like this: 1 2 3 4 Générateur De Code PSN Gratuit – 2014 – PSN Codes Gratuit.rar Générateur de code Starpass et Allopass 2014.rar Generateur De Code Starpass ...
10
votes
2answers
586 views

What does STX, SOH, and GS mean in Notepad++ output?

Upon reviewing the MIME source for an email (presumably containing international characters), I see stuff like this in Notepad++ I understand that CRLF is carriage return line feed, but what about ...
0
votes
1answer
26 views

how to delete the line after a special number?

How I can delete the numbers and characters more than a special number by regex in notepad++? This is a part of text: 1230 مهندسی برق-تبریز 126 مهندسی کامپیوتر-شریف 234 مهندسی کامپیوتر-تهران 786 ...
0
votes
1answer
36 views

Notepad++ variable name syntax highlight

How to add syntax highlight color to local function scope variable, and also block scope variable when using the let keyword, so I can clearly see local from global variables. JavaScript language ...
0
votes
0answers
18 views

Combine two and more regex, not returning variables from 2nd, 3rd regex

Still having problems with this. Trying to replace all text in a file so it just returns certain variables. It's a large file in Notepad++ ^.+?2014(.+?)Heading1Name(.+?)">(.+?)<(.+?>.*$ ...
0
votes
0answers
32 views

Set Notepad++ to enable syntax highlighting for files without extensions?

I'd like to set Notepad++ to enable Ruby syntax highlighting via the Style Configuration for a file without an extension, in this case, Vagrantfile. Any way to accomplish this? Note that other ...
2
votes
1answer
29 views

Adding linebreaks in notepad++

Is it possible to turn this: 1 My old house 2 My new house 3 My blue house 4 My funhouse into: 1 My old house 2 My new house 3 My blue house 4 My funhouse using Notepad++?
1
vote
1answer
26 views

Force Notepad++ To Uppercase Non-Selected Text

In Notepad++, I have the UPPERCASE shortcut mapped to Ctrl+U in the shortcut mapper. However, this shortcut only works if text is selected. For example, let's say I have the text "dog" and I place my ...
0
votes
1answer
62 views

Find in files on remote server with Notepad++

I have a remote Linux server, and I edit files on it over SFTP in Notepad++ using the NppFTP plugin. When I open a file for editing, NppFTP downloads the file locally to this folder: ...
0
votes
0answers
30 views

Delete lines containing string using Notepad++ [duplicate]

I would like to delete all lines in multiple HTML files containing the following strings: api.addthis.com <!-- span class="invisible">Bookmark Thanks for the help!
0
votes
1answer
48 views

Delete all code inside a tag in multiple HTML files with Notepad++

I need to delete all code contained within <li class="share"> ... </li> including the <li> tags themselves. There are multiple other <li> tags inside the li class="share" ...
0
votes
2answers
21 views

Find files to find multiple instances of the same code with Notepad++

I might have inserted <meta charset="UTF-8"> twice in some HTML files, and there are too many of them to check manually. Is there a regular expression I can use with Notepad++ to search for ...
0
votes
1answer
60 views

Regex for “Delete everything going forward but only up until start of [Expression]” [duplicate]

I am in Notepad++. I have the following data embedded in a large html file. I want to get the variables before the </ix:nonNumeric> at the end of the lines, onto their own lines by themselves so ...
2
votes
1answer
47 views

Notepad++: select text till the end of visual line with SHIFT+END

In Notepad++, when I press SHIFT+END to select text from the current caret position till the end of the current visual line, the whole logical line till its end limited with CR/LF is selected. An ...
0
votes
1answer
75 views

Notepad++ Deleting everything apart from 40 variables, putting them on their own line, combining regex

I am in Notepad++. I have the following data embedded in a large html file. I want to get the variables before the </ix:nonNumeric> at the end of the lines, onto their own lines by themselves so ...
0
votes
1answer
39 views

Notepad++ delete everything in entire large file before and after a variable

I have large text files with all kinds of characters, symbols and numbers. Can I use notepad++ to batch work through a directory of these and delete everything before and after a variable? I need to ...
0
votes
0answers
22 views

Notepad++ function list for all open documents?

Is there a way to listen all functions for all currently opened documents with the built in function list feature? Currently it only lists functions on the given page I am editing, which is kind of ...
2
votes
1answer
61 views

How to define whitespace (tabs and spaces) in Notepad++ UDL?

How do you specify a whitespace (tabs, spaces) in an UDL? I want to apply lines begining with (tab + space + space) with a special style. Thanks.
2
votes
1answer
54 views

Notepad++ - Delete Everything Other Than The Specified Strings

I have the following strings that I want to keep and delete the rests: uicomp-type="example-string" uicomp-type='string-example' I use the following regex to find those strings: ...
0
votes
0answers
5 views

Change of Order of tags on multiple lines

HI I'am trying to move the order of tags, I need country of origin under Mode of transport, but I have multiple lines of this same issue, how do I do this on notepad++ 39269097 187 ...
0
votes
1answer
37 views

Find all instances of a string where the line doesn't begin with a comment character?

I'm doing a Find in Files for a few strings; "V1.10", "V1.01A", "V1.2" I'd like to find all instances of those values (fine if I have to run 3 different searches) except for lines that start with ' ...
1
vote
1answer
28 views

Delete metadata in multiple files

How do i use Find and Replace in Files in Notepad++ to delete the following lines from multiple files? <meta name="perc_linkback" id="perc_linkback" content="xxxxxxxxxxx"/> and <link ...
1
vote
1answer
29 views

Plain text display in MS OneNote

I have an issue with displaying plain text in Microsoft OneNote. If I paste the text below (the screen taken in notepad++) into OneNote as Keep Text Only, I completely lose the formatting (note, ...
1
vote
2answers
32 views

Using wildcard in notepad++ to replace a very specific range of entries/values

Well I'm trying to find out how to use wildcards in order to change a quite specific value, mainly in xml files. Here is an example of how the file looks: <skill skill_name="alchemy_s18" ...
1
vote
1answer
134 views

notepad++ - Applying CSS styles for SCSS files?

In Notepad++, I have some SCSS files for which I would like the syntax to be highlighted like CSS files are. How do I do this in Notepad++? In other words, I would like to apply the same styles to ...
2
votes
1answer
20 views

Notepad++ work space project using server directory

I have a notepad++ workspace with a project, when i right click the project it gives me "Add files from directory", which is great for local files. But I am logged in via notepad's FTP plugin called ...
0
votes
1answer
72 views

Notepad++ Convert single column of csv data into multiple-value rows

Problem: File with 10,000 records, csv (comma separated) Sample Data: one, two, three, four, five, six, I need to create groups of rows e.g. one, two, three, four, five, six How can I accomplish ...
0
votes
1answer
23 views

Variable as argument to Wine

The variable $INPUT_FILES in Case 1 has the same content (string) that is used in Case 2. Why in Case 1 I have problems with spaces in the name "2015 01 09.1.txt", but in Case 2 not? How can I fix ...
9
votes
3answers
1k views

How To Change Tab Font Size In Notepad++

Just like the title says, I'm trying to change the font size in Notepad++ to the default font size. I don't know why it's so huge.
2
votes
4answers
47 views

Merge & Reformat text

I have a lot of Bible text looks like Gen 1:1 In the beginning God created the heavens and the earth. Gen 1:2 The earth was empty, a formless mass cloaked in darkness. And the Spirit of ...
2
votes
2answers
47 views

How to Replace Every Space in a Notepad++ Doc With a Null Character?

I copy and pasted the hex (I think it's hex, but I have no clue) from one document to another and all the null characters turned into spaces. How would I change them all back to null characters, ...
0
votes
1answer
74 views

Notepad++ Find string 'a', delete line and subsequent line(s) until string 'b' is found

I am editing a GEDCOM file and removing 'bad' GEDCOM tags. My example is :- I want to search for '2 RIN', delete that line and all subsequent lines until the first characters on the next line is '1 ' ...
0
votes
0answers
44 views

Notepad++ move lines up and down and change order

I have a text file with containing links and I want to change the order of them. Can I automate this or do I have to do it manually? My file is like this: http;//filefactory.com/file/xxxxxxxxxxxx ...
0
votes
2answers
80 views

How to highlight PHP, HTML & JavaScript at same time with Notepad++?

The file extension and language is PHP, and need to highlight HTML and JavaScript at the same time with the main language PHP in Notepad++ Example of code to highlight: <?php $form_name = ...
5
votes
1answer
52 views

Notepad++ highlight to copy feature?

Does anyone know if Notepad++ has a unix like copy feature where it automatically copies anything highlighted to your clipboard?
1
vote
0answers
30 views

Auto newline in notepad++

In my text documents, I often want to keep lines to 80 characters. So I watch the column number in the lower right corner and go to a new line once I get close to 80. The problem is, when I have a ...
11
votes
1answer
439 views

How to disable anti-aliasing in Notepad++ 6.7.9.2

I recently upgraded Notepad++ from 6.7.8.2 to 6.7.9.2. Now the content of the documents is anti-aliased. It wasn't the case before. Note that the only the content of the document is now anti-aliased ...
3
votes
2answers
31 views

Breaking the line in between the code in Notepad++

I have a file with line(s) that look like this: <url><loc>URL</loc><lastmod>Date</lastmod><changefreq>Time</changefreq> I'm editing the file in Notepad++, ...
2
votes
1answer
33 views

Notepad++ Regex find line pattern but only replace one line

I am new to regex. I want to modify lines in a text file based on a particular pattern. I was able to write an expression to find the pattern but in the group of line that it returns I want to only ...
0
votes
2answers
91 views

Is it possible to stop Notepad++ from searching inside binary files?

I just discovered via an unfortunate accident that the Find in Files feature in Notepad++ searches files inside RAR archives. After running several "find and replace" queries, all the RAR files I had ...
2
votes
2answers
392 views

Notepad++ Hangs On Close

I'm using Notepad++ on Windows 8.1. Until recently it closed just fine when I clicked the X but now when I do so it doesn't close but rather freeze the application. When I repeatedly click the X the ...
1
vote
1answer
35 views

replace all matches with different text in notepad++

I have list of links in a different text file (one link per line) links[0] = "link 1" links[1] = "link 2" links[2] = "link 3" links[3] = "link 4" I want to add in all the links between " " and ...
1
vote
2answers
112 views

How to recover or decode the old version of a corrupted text file?

I have edited a .txt file on Windows 7 with Notepad++ yesterday. Then I put the computer to sleep after saving the document. Today I wasn't able to wake the computer so I restarted it. As soon as I ...
0
votes
2answers
28 views

Notepad++ cross device settings

I work with Notepad++ on three computers, a PC at job, a PC at home, and a notebook. If I change any settings or theme I want to get back at home and have the same settings I changed at job and ...