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

4
votes
2answers
69 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
18 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 ...
0
votes
1answer
19 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
10 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
17 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
18 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
0answers
13 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
70 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
25 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?
-1
votes
2answers
29 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
11 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
15 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
23 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
37 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
63 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
43 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
29 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
votes
0answers
16 views

TextFX's Rewrap destroys whitespace

I need to reflow a document to follow a hard 72 column limit. Notepad++'s TextFX 'rewrap' command does this... however, it also destroys paragraph-leading whitespace and consolidates multiple blank ...
1
vote
0answers
29 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
39 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
50 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
35 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 ...
7
votes
1answer
750 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
33 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
25 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
20 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
33 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
9 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++?
1
vote
1answer
24 views

difference in two strings by substring search

Do you think it is possible with notepad++ to do difference of two strings on a substring level?? Check if any element from list1 exists in list2. If so remove it. At the end return only those ...
0
votes
1answer
22 views

notepad++ don't show the right character despite the right encoding

My UTF8.txt file display all other Unicode characters fine but not the x̄, it show instead a"x" and it's top dash "-"on the right (and not above the x). (When I copy past this x- from np++ to chrome ...
0
votes
0answers
21 views

notepad++ multi-instance settings - what is “open session in a new instance of notepad++”?

What is the difference between "open session in a new instance of notepad++" and "always in multi-instance mode"? I'm not seeing behavior differences.
0
votes
0answers
42 views

Replace multiple words in multiple files

I am using Windows 7. I need to replace multiple occurences of multiple words in multiple text files. For example, suppose there are 20 files. I have a list of words to find, and the words to replace ...
0
votes
0answers
13 views

Show columns from a tab delimited text file in notepad++ [duplicate]

there is an Question of how to select a tab delimited column in Notepad++, but I would like to see the columns, i.e. ajust the tab width so that White space is introduced in order to prevent text/...
0
votes
2answers
35 views

How to remove styling for text files in Notepad++

If I open a text file in Notepad++ it defaults to formatting some elements such as numbers, text between apostrophes, backslashes etc. How to I tell N++ to display .txt files with none of this ...
1
vote
1answer
31 views

Merging 3 lines in one with normal spacing between words in notepad++

I have an output of three lines that I want to merge in one line in notepad++ and be able to copy and paste it in excel in one cell (of course the cell will be stretched). Ctrl + J normally does this ...
0
votes
0answers
16 views

How do I change the delimiter options in smart highlighting in Notepad++

Is there a way to change the delimiters for smart selection in notepad++ Eg: Currently in following line only "linklist" word get smart highlighted. /home/austin/Cprogram/testcode/linklist.c but in ...
0
votes
0answers
28 views

Notepad++ one instance per each virtual desktop

I have problem with opening .txt file on windows-10. Notepad++ is default program to open .txt files, but when there is notepad++ application already running in other virtual desktop OS will ...
0
votes
1answer
18 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 ...
1
vote
1answer
29 views

Sorting Text alphabetically using last word before comma

I'm currently ordered to sort a list with ~250 entries alphabetically. Problem is: Not using the first word(s), or a specific column, but using the last term before the first comma: [li]title ...
7
votes
4answers
308 views

How to run a HTML file from Notepad++?

I'd like to run a HTML page so I configured the Execute / F5 command as following: chrome.exe http://localhost:8080/$(FILE_NAME) It works when the HTML file is located in the root of my Workspace (...
0
votes
0answers
13 views

See specific shortcut binding or sorted list of shortcuts defined in Notepad++

In Notepad++, I'd like to modify key bindings easily, rather than having to guess which bindings are not already being used. Paging through the Shortcut Mapper or even looking at the list of default ...
1
vote
3answers
41 views

Notepad++ regex not working

I am trying to use Notepad++ and regular expressions to remove all XML from Windows' events. My regular expression is as follows: Event Xml:(.|\n)+?Event>\n Example Windows events are as ...
1
vote
1answer
23 views

How to remove everything after a word

How I can remove everything after domain.com/? Example: csa.domain.com/blsbls/lsads asd.domain.com/blabla bsa.domain.com/blsbls I want to to remove everything after domain.com/ so my result will ...
0
votes
2answers
35 views

How can I delete everything else from my txt except hungarian texts?

I have a localisation file from a game, and unfortunately, this file conain all localized language, but I only need is, the hungaryan texts from them. I would like to make a video series from this ...
0
votes
1answer
10 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 ...