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
19 views

Count number of lines in file using batch

I am using TrailerCount.bat file to count the number of lines in text file using below mentioned code @Echo off ::set newline=^& echo. SET FilePath=%1 Set /a _Lines=0 For /f %%j in ('Type ...
1
vote
2answers
37 views

Notepad++ Regular Expression Assistance

I am currently trying to find \000\000\001\031704_news_release.pdf Which I have successfully done with 000\\000\\\d\d\d\\ I am pretty sure I am doing something wrong here though because I want ...
2
votes
2answers
45 views

Is there a keyboard shortcut to select the entire current line in Notepad++?

Microsoft OneNote has a handy shortcut (Ctrl+A) that I use all the time to select an entire line.  And if you click it a second time it selects the entire document. I really would like to use Ctrl+A ...
1
vote
1answer
29 views

What is a virtual optical disk file and how do you create one?

I am trying to create a virtual machine using virtualBox and I have finished the whole process of specifying the size, the name, etc. However, when I try to power on the machine it tells me: ...
1
vote
1answer
16 views

Styling of Notepad++ end of line (EOL) symbols “CR” and “LF”?

I would like to enable View>Show Symbol>Show all characters but in contrast to Style White space symbolstyle in Language Global Styles I can't find a color setting for the EOL character so I am ...
0
votes
0answers
16 views

How Notepad++'s character encoding works?

Link/Synopsis I've made an "Encoding Test" table on one of my free domains with the sole purpose of gaining understanding of character encodings. Here is the link: ...
1
vote
0answers
10 views

Create a User Defined Language combining 2 languages in Notepad++

I want to have syntax highlighting for Volt, the Phalcon template engine, in Notepad++. The closest I have found online is this one for Twig which seems very similar, so I think perhaps that the idea ...
-1
votes
1answer
23 views

How to replace text to nothing after some specific keyword?

I've a list like this (over 1000): Hello*123 Hi*259 King*555 I want to delete *123, *259, *555 from each line and want to make it like Hello Hi King How to do so? I'm using Notepad++
0
votes
1answer
32 views

Why am I unable to install the NppExec plugin for Notepad++?

I was trying to install the NppExec plugin for Notepad++ so that I can compile Java in it and run it. After the installation failed to work, I did some more research on compiling and decided to move ...
0
votes
1answer
9 views

Find and replace blocks of formatted code in multiple HTML files on a Linux server

Many of my sites consists of hundreds of HTML files, and I often have to make changes via "Find and replace" in all files simultaneously. I use a combination of FTP, cPanel's file manager, Notepad++ ...
1
vote
2answers
17 views

Auto indent in notepad++

I want to auto indent my my text using notepad++. Is there a way to do this? Or I have to install any plugin? I have tried all I know in notepad++ but it seems things are not working. I have even used ...
1
vote
1answer
14 views

Regex Expression in Notepad ++ (Replacing value)

I'm trying to replace a statement that has this pattern: readonly="if(xxxx.x_DATE lt yyyy.y_yyyyy,True,False)" where "DATE" in the statement are dynamic (vary in the file, i.e. 0101, 0102, 0103 etc) ...
0
votes
1answer
10 views

Notepad++, Insert text from one list into another?

I have 2 lists on separate pages in notepad++, I'd like to add the text from one list to the start of each line on the 2nd list, eg: LIST 1 1abc 2abc 3abc LIST 2 =test =test =test RESULT 1abc=test ...
0
votes
1answer
30 views

How to merge every second row in Notepad++?

I mean, how can I get from this: A B C D E F a result like this: ACE BDF This means I have a table and need the headlines (ACE) to be above the value lines (BDF). So the merge should skip a ...
6
votes
4answers
762 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
28 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
15 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
36 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++?
32
votes
7answers
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
17 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
26 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 ...
8
votes
2answers
317 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
25 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
20 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
16 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
23 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
24 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
22 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
35 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
33 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
18 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
56 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
34 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
71 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
35 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
15 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
36 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
48 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
34 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
24 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
21 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
26 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
47 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
16 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
51 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
17 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 ...
8
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 ...