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
votes
1answer
26 views

Add character at a position to a string with notepad++

How do I insert a character into a string at a given position in Notepad++? For example 00000000 to 000000-00
0
votes
0answers
5 views

Select/Copy Collapsed Folding group without expansion

Notepad++ supports folding: code folding How do I copy the folded text as it appears on the screen without expansion? I am creating documentation and only want to copy/paste what is on the screen, ...
0
votes
1answer
52 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++.
2
votes
0answers
12 views

Windows tab header font messed up

Please help -- some of my Windows 10 fonts are messed up. I have reset all DPI scaling, font settings, themes etc. but cannot get rid of this problem. See this image as an example: http://imgur.com/...
0
votes
0answers
9 views

nppExec and Bookmarks

Suppose I am using notepad++ and have a bunch of Bookmarks set. On each line that I have a bookmark set I want nppExec (a plugin to notepad++) to do a task. So is there a way to get nppExec to ...
0
votes
0answers
13 views

I want to use Notepad++ with Dropbox but the option has nothing listed on Version 6.9.2

I have dropbox installed and google drive but I can't see them up here and I tried to enter the .exe file location or the cloud file location didn't work.
0
votes
0answers
13 views

Notepad++: How to make UniversalIndentGUI plugin start with fortran format by default?

I installed UniversalIndentGUI in notepad++. However, every time I launched notepad++, the default format of this UniversalIndentGUI is "Artistic Style" like this How to make the default format to ...
2
votes
2answers
35 views

notepad ++ regex end of line replace

I want to replace the end of a line on line with ';' but only on lines that do not already end in ';'. I came up with the following to put in the replace dialog Find What = '[^\;]\r\n' Replace ...
1
vote
1answer
32 views

Reset width in Notepad++

I have a document open in Notepad++, and for some reason the horizontal scrollbar is tiny. It looks like the width of the text area is over 7000 characters. The document does have a (single) long line,...
0
votes
1answer
51 views

Using regex to extract specific fields from css, using notepad++

I've got a css stylesheet on which I want to perform some analysis and it seemed like a good idea to use regex inside Notepad++. Now I find I can't write the regex and maybe it wasn't a good idea but, ...
2
votes
1answer
43 views

Notepad++ messed up my numbers

How do I fix the problem where Notepadd++ doesn't show numbers like usual
1
vote
1answer
21 views

Notepad++ turning my angle brackets into comments automatically

I'll be quick. I'm creating a simple website that generates a set of random characters, but I'm having a little trouble with the php code. From what I can see, Notepad++ is automatically turning my ...
1
vote
1answer
27 views

Notepad ++ line replace

Is it possible in Notepad++ to select a line and replace the selected line in all the files I have open? If I have on 2 lines the same text, is it possible to replace that text only on a certain ...
2
votes
1answer
18 views

Notepad++: Force file/UI tabs to certain width regardless of filename length?

Is there a way to force tabs to identical size, regardless of filename length? Here you can see that the size changes entirely depending on the filename length and also position in a multiline config,...
1
vote
1answer
39 views

Print all files in a directory as text

I want to print all the files in a subdirectory tree as text files (its a bunch of code and config files, all text). I am using Windows 8 The file explorer does not seem to have a "Print" option. I ...
1
vote
2answers
39 views

Notepad++ - search for same things that are in line twice

I would like to know if there is way to search file for two things in same line. For example if I want to search line with "variable >=" and "variable >=". Problem is that I dont know what "variable" ...
0
votes
1answer
33 views

Replace text at specific line number with other text using notepad++

I have hundreds of input files that are very similar, but contain slight differences. I want to replace every line 4 in all open documents with another line of text. The search and replace function ...
0
votes
0answers
25 views

How to fix file tabs position in notepad++?

If lots of files opened in notepad++, there will be several lines of file tabs. Click on different file tabs will change tab position. Is there a way to fix tab position? Thanks!
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
16 views

Files Edited by N++ 6.9.2 Not Backed Up to OneDrive Cloud

Having supplied the local Onedrive documents directory to the Custom Backup Directory box in the Preferences\Backup dialog and the same pathname to the Preferences\Cloud box the xml config files were ...
5
votes
2answers
134 views

RegEx string formatting in Notepad++

I'm pretty good in RegEx, but there's one thing I can't seem to figure out how it works. How would one search/replace in NotePad++ and make sure that the output has a fixed length, while the input ...
1
vote
0answers
25 views

Why are Windows editors prefixing text files with three bytes? [duplicate]

I discovered that a text file created with Notepad++ or Notepad prefixes the actual text with three bytes: They are not visible in either of these editors but the hexdump above reveals them, they ...
1
vote
1answer
24 views

Swapping multiple cases of two varying blocks of text, with MS Word find-and-replace

I have a few very long and large documents in MS Word, containing iMessaging history. I want to reorder the current format a bit, so it is more intuitive to read. Currently a sample of one document is:...
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
32 views

Adding Single quotes at the beginning and end of each string

I want to add single quotes at the beginning and end of all the strings in the given list and each item should be separated by a comma in notepad++ ANAND GABRIEL INDIA LIMITED NARMAC MOTHER DAIRY ...
0
votes
1answer
20 views

How to delete surplus lines after end of lines of text?

I'm trying to build some macros, and I need the lines of text to be EXACT, for some reason, notepad appends a space at the end, and I can't get rid of it... I have textFX with notepad++ but I can ...
0
votes
1answer
32 views

How to select text with same style token applied in notepad++?

I want to select all text with same style token applied on notepad++. My goal is to remove all similarly styled words and sentences.
0
votes
2answers
85 views

Add a letter in the middle of a Text in every Line, Notepad++

I have a huge amount of lines containing this for example this text: OU111_DI_Z006_1 Note that some chars are different in every line, represented by @. Like this: OU@@@_@@_Z0@@__@ How can I use the ...
2
votes
1answer
29 views

How to use Notepad++ to replace “(” with a line break?

I am not sure if this is possible with Notepad++ but I am trying to replace "(" without the quotation with a line break. Can that be done?
-2
votes
2answers
39 views

Using Notepad++ Regex to remove anchors

I've tried looking at other answers for this and my brain just explodes when I try and read anything on Regex, I just cant comprehend it, no matter how many times I read it, or how slowly. Im trying ...
0
votes
0answers
33 views

in notepad++ the encoding of a file is set to UTF-8 but the encoding is actually ASCII

I need some text files to be encoded as UTF-8 text files when I use them with Notepad++. However, sometimes I have UTF-8 selected as the encoding in Notepad++, but the file is actually in ASCII. I ...
1
vote
1answer
16 views

Why is it recommended to disable MRU with two check boxes to fix tab order shifting?

Thanks to some previous questions [1, 2] I've managed to solve one of the more pervasive issues I and others have had with N++ which is the way it handled tab shifting in most recently used order ...
1
vote
2answers
38 views

Notepad++ split line after given number of characters

Is there a way in notepad++, to split one line text, to text with given maximum number of characters in one line? I found only undefined line split in lines operations.
1
vote
2answers
62 views

Notepad++ Trying to add a character after ONLY the first space in each line

I have 30,000 lines of text that have randon number of spaces in them. I need to add a character to just the first SPACE in each line. Any who can suggest anything would be greatly appreciated.
1
vote
3answers
71 views

Notepad++ Find and Replace Expert Suggestion

I need help with Find and Replace in Notepad++. Example: $250 'Hello 1' Take '____' $500 'Hello 2' Take '____' $1000 'Hello 3' Take '____' Imagine there are thousands of these entries going up to ...
3
votes
1answer
51 views

Notepad++: Create shorcut to Batch file and open file afterwards

I have a batchscript with the following contents: python.exe c:/path/to/my/pythonscript/script.py %1 which I currently use to be able to drag-n-drop a file onto it. script.py then makes a duplicate ...
0
votes
1answer
33 views

Notepad++ wild card use with find and replace

I have a 12-digit MAC address such as 5C838F9FE398 which I need to replace with 5C83.8F9F.E398 Since I have to this for more than 200 MAC addresses I thought to use Notepad++ to save time. Is it ...
1
vote
1answer
35 views

Error while compiling with 'g++' using 'NPPExec' plugin with Notepad++

Everytime I try to run G++ from notepad++ portable I get this error I am trying to compile a simple hello world program. I'm positive that the directories and files exist, but I still get this ...
2
votes
2answers
42 views

Add brackets and comma

If I have the numbers in two lines :- 2 3 5 47 60 64 75 98 3 4 6 48 61 65 76 99 I want to add " [ " at the beginning of each line and add " ] " at the end of each line and ...
1
vote
2answers
52 views

Delete space between numbers

If I have the following numbers:_ [ 1 , 2 , 4 , 46 , 59 , 63 , 74 , 97 , 111 , 123 , 143 , 150 , 179 , 197 , 268 , 278 , 287 , 303 ] I want to delete ...
0
votes
1answer
40 views

Batch file not running due to weird symbols at the start of the line

I have a piece of code i am trying to execute in a batch file it works fine when i run in in the command line but when i save it as a .bat file it fails with some weird symbols at the start of the ...
8
votes
1answer
763 views

How can I make Notepad++ actually start maximized?

When I start a new instance of Notepad++, its window is always slightly larger than the screen, not actually maximized. That really bothers me because I have two monitors, and the extra size spills ...
0
votes
2answers
18 views

Adding specific line after findinga pariticular line

I have huge codebase containing 400-500 files. In most of the files we have this kind of lines, <cfcatch type="any"> / <cfcatch type="database"> / <cfcatch> etc. So the common ...
0
votes
1answer
46 views

notepad++ - How to choose editor background color for a specific language?

How can I set the background color of the editor for a specific language in notepad++? I know there are similar question on superuser but they don't solve the following problem I have: If I change ...
0
votes
0answers
30 views

How to duplicate all bookmarked lines in Notepad++

I would like to go though all bookmarked lines and duplicate them. This would be an automated way to pressing F2 then Ctrl+D. I've tried macros and two \1 with find and replace with regular ...
0
votes
1answer
18 views

How to remove lines starting with specific character?

I need to remove all lines starting with number 8. My document contains few hundred lines. All starting with the number 8 need to be removed.
1
vote
1answer
22 views

How to wild-card search/replace in a Specific Area of code in Notepad++

again, I need to automate some content prepping of enormous docs. Here's the sample of what I have: <style tag> Name Description Name ------ --------------------...
0
votes
2answers
35 views

how to add control charecter CR to the end of line in notepad++

How can I add control character CR with notepad ++ to the end of all lines in ones. File containing informations such pictures graphs videos.There are two control character CR and LF in the file that ...
0
votes
0answers
13 views

Delete set of lines in multiple .dat files in Notepad++

I tried searching for a solution but the exact situation was never desribed. Is it possible to delete lines 1 to 85 in multiple dat files with FindReplace in Notepad++?