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
1k 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 notepad++...
1
vote
1answer
2k 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 ...
1
vote
1answer
650 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
178 views

Change the actually displayed EOL symbol in notepad++ to ¬

So, when I show EOL characters I get this ugly bulky symbol, I'd like to change this somehow, prefferably to ¬ And not (LF) or (CR), but something less disturbing and distracting. Any ideas?
1
vote
1answer
564 views

End previous Proccess when a new one is called using NppExec

The message comes up saying would you like to send the exit command so you can run you new proccess. well yes I would but I would like to always do this. There has to be a way to add this in line to ...
1
vote
1answer
201 views

buggy notepad++ plugin manager

I seem to have this problem that when I open notepad++ it shows the updates available and when I select them to update a dialog box appears saying that updates failed. I am running windows 7 with ...
0
votes
1answer
54 views

In Notepad++, how do I remove characters before the fifth | character?

In Notepad++, I want to remove everything up to (before) and including the fifth | character in a line, and keep everything after the fifth | character. So, the original line would look like: note,:...
0
votes
1answer
12 views

Alter specific text to string as a key in JSON

I'm trying to convert numbers as shown in figure below to a JSON key with value in an object. Please can someone help me with that? The image below shows what I'm trying to do in notepad++.
0
votes
1answer
29 views

How to convert several rows to columns in notepad++

Let's say I have this in Notepad++: CHARGE_ID LAST_MODIFIED CHARGE PROPORTION CURRENCY_ID ACCOUNT_ID 2194703831 28-06-2016 11:44:02 2.49 1 95000060 590511 I would like to convert it ...
0
votes
1answer
13 views

Is there a rule to join lines based on a rule notepad++

I have a notepad++ file containing tens of thousands of lines. Each entry in my import program must have each field separated by a delimiter. When bringing the information over into notepad++ I have ...
0
votes
1answer
20 views

Replacing a Incremental number text with constant text

I have a XML file I have replace some text like: <instance instanceCode="ZTEST999523" objectCode="ZTEST999523"> <instance instanceCode="ZTEST999523" objectCode="ZTEST999524"> <instance ...
0
votes
1answer
16 views

Notepad++ Regular Help list

Hi i have my list like this : Name | Surname | email | Name | Surname | email | Name | Surname | email | Name | Surname | email | I want to copy all email like this : email email email email How ...
0
votes
1answer
12 views

Strange issue with UDL2.0 (notepad++) regarding numbers at the end of strings

I'm currently at the tail end of writing some custom syntax highlighting for a language that is a mixture of lua and xml (don't ask). As it's lua contained within xml nodes, lua code is required to be ...
0
votes
1answer
16 views

How to copy file (as in file handle, not contents) to clipboard from within SlickEdit or Notepad++

I'm wondering if there is built-in or plug-in functionality for this feature for either of these apps. I'd like to be looking at file open in SlickEdit or Notepad++, and then either from a menu or ...
0
votes
1answer
25 views

Notepad++ shortcuts don't work with custom keyboard

I use a custom dvorak keyboard layout that I made in the Microsoft Keyboard Layout Creator. It's basically Dvorak, but I have it mapped so that when I press ctrl, all the keys get remapped to their ...
0
votes
1answer
29 views

Notepad++ autoclosing tags that don't need it. How to turn off?

I just started learning HTML and am using Notepad++. I love the feature of autoclosing the tags, saves me a lot of time. I was wondering if there's a way for it to not autoclose the tags that don't ...
0
votes
1answer
54 views

Notepad++ Compare Plugin has lines of unequal size

I am using Notepad++'s "Compare" plugin - which is incredibly useful for comparing code chunks... however I have just recently noticed that while using this handy tool, the lines do not line up side ...
0
votes
1answer
20 views

Notepad++ Replace hint for text file

i'm having some trouble about replacing option string. I need to replace <option value="91">Afghanistan</option> need to become <option value="Afghanistan">Afghanistan</option&...
0
votes
1answer
26 views

Trying to install plugin “Preview HTML”, and failing

Notepad++ version 6.8.8. Windows 7. Notepad++ installed as administrator. Can install some other plugins, but not "Preview HTML". During installation, a dialog box pops up with title "Installation ...
0
votes
1answer
39 views

How I can delete a line item that contain first and last name in a file several time on different line item?

62705300019623531 0000009200AR000000027283 HILL , CLAY 62705300019623531 0000009200AR000000046485 HILL , CLAY 62705300019623531 0000009200AR000000027787 HILL, DORIS M ...
0
votes
1answer
24 views

Using wildcard replace in Notepad++

stat x, y, z, x/y/z are numbers. Is there any regex command in notepad++ that allows me to replace all the text in a file that matches the pattern (stat x, y, z,(keep in mind that the numbers that ...
0
votes
1answer
124 views

Copy file as raw binary text

I do need to copy the jce_policy-8.zip from my Mac to a Citrix Desktop on Demand. The customer blocked every fileshare and Download. So I have tried to copy the .zip as raw text. Source I open the ...
0
votes
1answer
39 views

Why is my KML data appearing all in one line in Notepad++?

I have a KML file of Dutch national statistics which is a series of multiple layered KML files that I need to extract. I know exactly what I am looking for and what I need to extract, but why does my ...
0
votes
1answer
25 views

Restore last save on Notepad++

I opened Notepad++ and add some notes on already opened hosts file and saved it. Then I noticed my Windows hosts file is missing a line. Is there any way to undo to before the last save (ctrl + z ...
0
votes
1answer
68 views

Notepad++ replacing xf6 to the original character

I open up my XML file (encoded as UTF-8 format) and it shows certain characters (öäü) as a black box including hexa number (xf6). Is there any way to convert the characters to original and keep the ...
0
votes
1answer
76 views

Notepad++: Automatic “comment line (*)” on newline

is there a way to make notepad++ behave like eclipse with multi-line comments? It would be great if notepad automatically inserts " * " every time I make a new line in a /* */ comment-section. To be ...
0
votes
1answer
65 views

Notepad++ User Defined Language line color based on ending delimiter

I have my language working good except on last rule: In the following code: Init: ErrorMessage, ProgressMessage = "" StatusMessage = "No experiment has been performed" pi = 3.141592653589793 ...
0
votes
1answer
132 views

How to Replace text inside tag in Notepad ++ from 2 file Xml?

Example: File 1: <CannonExp.xml> <String> <ID> 1 </ID> <ASCII> Memiliki beberapa Giant crossbow yang dapat menyerang jarak jauh. Kelemahan fortress ini ...
0
votes
1answer
224 views

Notepad++: Strange character with non english language

In win 7 I don't have any problem with notepad++ when using Persian language but after upgrading to windows 10, I can't type characters correctly (see bellow picture). Already entered characters are ...
0
votes
1answer
25 views

My version of Notepad++ does not create backups

What I am trying to do is recover a file that was accidentally "not saved" or "not saved properly". Anyway, I was working with a document and up popped a window asking me to do something with the ...
0
votes
1answer
235 views

Simple text gets underlined and clickable in Notepad++

I am using Notepad++ v6.7.9.2. I have created a file and then reopened that file to add some extra text. Now when I add more text into the file, the newly added text gets underlined and also becomes ...
0
votes
1answer
2k 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
221 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++ ...
0
votes
1answer
27 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
266 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
1answer
174 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
1answer
73 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 ...
0
votes
1answer
179 views

Line Manipulation Reformat text Notepad++ or PSPaD

I have about 40,000 lines I need to look like first line - no paragraph marks. The trouble is, I can't use join lines then use (\d\D+)& $1\n to get like line 1 because of numbers inside of ...
0
votes
1answer
519 views

Notepad++ illegal XML character target search using Regex

Fellow Forum Members, I am using the latest version of NotePad++ and I have done a search for illegal XML symbols such as "&", ">", "<", "©" among 200 separate XML files. I found a couple of ...
0
votes
1answer
357 views

How to set Notepad++ GUI text to a bigger font?

I can't seem to find anything about this topic anywhere on the net, so I am asking here. Is there any way to increase visual font styles of the interface's text of Npp? I am not talking about the ...
0
votes
1answer
74 views

How to limit keyword highlighting when they appear in variable names

I imported a custom language for PL/SQL into Notepad++, and I'm trying to fine-tune the syntax highlighting. I've enabled code folding for multi-line comments, and changed the background colour on ...
0
votes
1answer
550 views

Notepad++: How to fold tab text hierarchy and use it as an outline

I love notepad++ but cant find the feature described: Using a text outline defined by (TAB) as an outline (IE: Being able to fold/collapse based upon that hierarchy) I found another software that does ...
0
votes
1answer
263 views

how to make Tabs from notepad++ behave like in windows' 7 notepad

I'm using notepad++ on daily basis, but sometimes, just for fast notes, I use also the notepad provided in Windows 7. When I want to organize the data (making a sort of table) and I'm using Tabs (in ...
0
votes
1answer
61 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 : basb,asbdausd,...
0
votes
1answer
74 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') ...
0
votes
1answer
39 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, ...
0
votes
1answer
57 views

replace different variables into a single variable

I have XML files with entries like this: <path>D:/Shared/export/Outdoor Stage2/Outdoor Stage2_6_Images\Image_0.jpg</path> <path>D:/Shared/export/Outdoor Stage2/Outdoor ...
0
votes
1answer
215 views

In notepad++, is it possible to freeze the active line

Is it possible to freeze the active line in the text window, regardless of which line of code is actually displayed? I want to be able to view code above and below my active line and stay ...
0
votes
1answer
282 views

Notepad++ Check line number in search and replace

I am looking at translating guitar tabs into a string of digits! so when I do a search and replace, its wrong... for example Line 1 a 5 is a "A" line 2 a 5 would mean "D" My question is, How can I ...
0
votes
1answer
231 views

Adding Markdown Sytnax recognition to NotePad++ via UserDefineLang.xml

I want to add MArkdown as a language to NotePad++. I've downloaded the UserDefineLang.xml file from this GitHub Project. As I understand it, I am supposed to simply copy the UserDefineLang.xml file ...