Questions tagged [notepad++]

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.

Filter by
Sorted by
Tagged with
1
vote
1answer
7 views

Has anyone developed a Notepad++ Lexer for “begin/end” block languages like Verilog and Pascal?

I found this post from 8 years ago. The conclusion was syntax highlighting of code blocks in languages using begin / end instead of braces would require writing a custom Lexer for NPP. Has anyone ...
0
votes
0answers
16 views

How to remove only the first semicolon in each line in Notepad++ [duplicate]

I have a file in Notepad++, and each line looks like this. 20121101;09:16;5615.45;5615.55;5608.75;5613.10;0 20121101;09:17;5611.90;5613.05;5609.60;5610.80;0 I want to remove only the first semicolon ...
0
votes
1answer
25 views

SFTP-based client to auto-open files from different folder

I am working on a programming project that has multiple text-based files (.txt, .py, .sh, etc.). The files are stored on a remote server (specifically AWS EC2). I can access them with WinSCP via SFTP ...
0
votes
1answer
14 views

Search all windows in a Notepad++ session

I've recently discovered and much more quickly became spoiled by a brand new chrome extension called "Search all tabs." Now whenever I work with any application that is heavy with tabs, all I want to ...
1
vote
1answer
19 views

Regex: Find those html pages which does not contain this particular word on a link

I have these 2 lines on more than 3000 HTML pages: <link rel="canonical" href="https://mywebsite.com/hi/about.html" /> and <link rel="canonical" href="https://mywebsite.com/about.html" /&...
0
votes
1answer
22 views

How can I hide and restore only bookmarked lines using notepad++?

I have a document with thousands of lines. It includes labels by geographic region and random lines from all regions have non-ascii characters present. I have the regex to remove the non-ascii but ...
0
votes
0answers
29 views

Regular expression to remove [Price: 0 EUR] [closed]

How can I make a regular expression to filter this matching/wildcard word. For example in 1 file I have: [Price:0 EUR] [Price:89 EUR] I need a regular expression to delete it
0
votes
1answer
35 views

How to sort alphabetically based on a particular column in notepad++?

I was unsure how to word the inquiry. I have a huge swath of a few thousand entries i'd like to sort alphabetically but using the built-in notepad++ sorts numbers first and in my case, i need a ...
0
votes
0answers
9 views

How can I add a visible column line in notepad++ so that it will let me know if I wrote a line which has more than x characters [duplicate]

As in the topic. VSC has an option like this (or maybe it was e.g. a Python plugin, one way or the other it is there), but VSC is quite heavy for what I need to use the text editor for. I'd like to ...
0
votes
1answer
35 views

How can i invert my Regex matching results?

I have checked a lot of information about how can i invert my match..but unfortunatelly i coundnt be able to do it in for my problem. So..lets say i have this text : GS Sos_519 ...
2
votes
2answers
32 views

How can I line up english text in a line containing non ascii (japanese) characters with notepad++?

Here are a few snippets from example lines d5e2306b1afe0724d5798053e430894a パックマン JPN 9208dd96fcff37400c6f3c42cd1d85ed スペランカー ...
1
vote
1answer
33 views

In notepad++, can I paste a block of lines adjacent to the existing block of lines

Existing file aaaaaaaaa nn mm kkkkkk ll o I want another block of lines just next to this block of data. if I have few lines copied in the clipboard(either from same file or from a different file), ...
0
votes
1answer
56 views

How to move all instances of a specific word or phrase to a particular column number in Notepad++?

I'm unsure if this is possible, but I need to move all instances of the word USA to column 130 in a txt document using Notepad++. I didn't "think" this would require any regex so I posted here, ...
0
votes
0answers
17 views

Assign bash syntax highlighting to Normal Text files

I want Notepad++ to highlight the normal text as if it was a Bash script. I googled a bit and found this post: Assigning custom extensions to a language's syntax highlighting in Notepad++ From ...
2
votes
0answers
20 views

Print to Side by Side views in Notepad ++

I have two files in side by side view tabs in Notepad ++ (Vertically Synchronized) is there a way to print both files on the same page so I don't lose the formatting??? Side By Side documents
1
vote
1answer
30 views

Notepad++ - Find list of acronyms in text file

I want to make list of acronyms in a text file. I tried some regex to find the list of words with all capital letters. Ex. [A-Z]+ This did not work. I also have another problem. Some acronyms do ...
4
votes
2answers
369 views

Notepad++ replace comma if is between two double quotes

With notepad++ I would like to remove all comma only if they're between a couple of double quotes: This is my source string: 0.00,0.00%,"1,926.10","2,873.68","2,365.13",14.29% And i would like to ...
0
votes
2answers
33 views

Notepad ++ Make Ip Address subnet Ex = ?.?.?.?/24 How?

Hi guys i have a mikrotik router and i am trying to trace all the game server yet i did it but changing the subnet of the last period of the ip address is frustrating as hell. Is there a way that ...
0
votes
1answer
20 views

I want to sort text phrases by their number of words with Notepad++

I would like the program to be able to select or identify a sentence automatically (from one point to the next or from one point to the question mark or to the exclamation mark) and to order each ...
0
votes
1answer
42 views

Notepad++ How to delete sections of text starting with a line containing a certain phrase

I'm trying to edit a few calibre files that have tags attached, but the tag line is not always formatted the same. Eg. div class="pcalibre1 pcalibre2 pcalibre tags-list" div class="pcalibre1 ...
0
votes
1answer
32 views

Clicked some option for 'localization' and now updates takes 5-10 minutes

I think I clicked some option for 'localization' in Notepad++. But I can't find that option now, to undo it. Currently, each time Notepad++ updates, it takes 5-10 minutes for all the local natural ...
1
vote
1answer
24 views

Notepad++ where is the download folder for the update EXE

Say i install an older version of Notepad++ from the setup.exe. (Windows 10 version) After installation, Notepad++ detects that it is an older version, and asks me if I want to update. If i say yes, ...
0
votes
1answer
24 views

How to add Plugin commands in the notepad++ right click menu?

The following screen shows the menu of three commands that can work with the selected text. How to add additional Plugin commands in this menu?
0
votes
1answer
44 views

notepad++ - copy multiple line from excel to notepad++ in the same range

I do some function in excel, and it took about 250.000 rows, so my memory was ran out, my excel is not responding, I try to find other way, so I need to combine it with notepad++ I have data in excel ...
0
votes
2answers
53 views

Replace each character of a word with line break

I want to have a line break between each character/letter of the word if the word is < Hello > I want it as H e l l o
0
votes
0answers
17 views

Sublime Text 3 - Regex Replace Using Conditional Match

In Notepad++, it is possible to use this kind of expression in the "Replace" box: (?{1}{$1}\n:) This means if first group matches, replace by first group followed by new line, else replace by empty ...
0
votes
1answer
34 views

regex - is there anyway to simplify this regex (OR)?

the basic regex is [^ ]*KEYWORD[^ ]* Keyword = freetext, I have many many keywords, so I use OR >>> "|", and repeat the regex many times in 1 line, for example: [^ ]*210[^ ]*|[^ ]*211[^ ]*|[^ ]*...
0
votes
0answers
24 views

Add sub-element to function list in Notepad++

When I code php, I use Notepad++ with nppFTP on the left side of my screen, and the browser on the right side, to quickly see the changes. On bigger projects, I can easily surpass 1100 rows of code ...
0
votes
1answer
43 views

Regex - how to delete word that contains specific keyword

I have description in many rows, for example You can see them at www.superuser.com/question/ask, but for the second opinion, you should check bowwwbowww too How to delete every word that contains ...
0
votes
2answers
56 views

Replacing a string inside of multiple text files

I am looking for a way to replace line 5 and line 7 in many documents inside of a directory. Line 5's offset and line 7's value are different for each of these documents, however, I need them to ...
0
votes
1answer
24 views

Replacing certain values with function in Notepad++

My .csv file contains a lot of the following: "123",bpm The value is changing, so it's not always 123, but it's always three digits. I would like to change all of these three digit values with 10 ...
0
votes
0answers
38 views

Notepad++ file freezes

I have a very small batch file containing psexec commands (30 lines of code), however, when I try to open this file in Notepad++, it takes a really long to time open and when I modify something in the ...
0
votes
2answers
49 views

notepad++ : How to reset all the setting to default ones?

I accidentally deleted some parts like hashtag For example. I would like to reset my notepad settings to default, how do i do that? Please help me thanks!
1
vote
1answer
26 views

notepad++ regex duplicate xml text on each line

I need to process a xml file, in which a certain text has to be inserted (duplicated) - see the following, for an example: <Item Property1="..." ... PropertyN="someText"></Item> How I ...
0
votes
1answer
25 views

Notepad++ first and last letter uppercase

How can I convert like this screenshot https://img.techpowerup.org/200421/test.jpg Alfred World Hello Example Google Testing to AlfreD WorlD HellO Example GooglE TestinG I have hundreds of lines ...
0
votes
1answer
31 views

How to Bookmark Duplicate lines

I have a big list of Domains like this: Example.com Apple.com Google.com Google.com Example.com Yahoo.com Apple.com What I want is to bookmark all duplicate domains and remove all duplicates and ...
0
votes
2answers
78 views

Find the every nth occurrence of a string

Despite the many similar questions, I am still confused. qx|o1|md|4SAK9H7DQ876CAJ943,SJT8642H2DKT2CQ76,SQ5HKT653DAJCKT52|rh||ah|Board 1|sv|0|pg|| qx|o2|md|4SKQJ7642H9DQJ8CK8,STHAK8762D74CQJ65,...
1
vote
1answer
20 views

Search for the first character in the line

I have a php.ini file, similar to the following example: ;;;;;;;;;;;;;;;;;;;; ; Language Options ; ;;;;;;;;;;;;;;;;;;;; ; Enable the PHP scripting language engine under Apache. ; http://php.net/...
0
votes
1answer
189 views

Extract specific values from xml format to a comma separated value format (csv) with Notepad++

I need to extract specific values from XML format to a comma-separated value format (CSV) with Notepad++ The XML source file looks like:source file GRID id="301019" x="**328.217224**" y="**543....
0
votes
1answer
45 views

How to delete a folded XML node (and all child nodes) in NotePad++

In the XML example below, lines 8-13 are folded. Is there a quick way to delete lines 8-13 when folded? If I select and delete line 8, then lines 9-13 are still there, and the only way I know to get ...
2
votes
1answer
26 views

Keep only the second and third words of each line in notepad++

I want to... keep the second... and third words only... I would like to keep only the second and third words and delete everything else in each line i.e want and to, the and second, third and words ...
2
votes
2answers
40 views

How to remove the password from each line? in the format of example:pass

How can I remove the passwords from a text file that contains email:password? For example I have : willibaldkahr@a1.net:1241_1130 keyskyer@wo.com.cn:k8795530 nakamura@a1.net:nakamura t.fessl@a1.net:...
1
vote
1answer
24 views

Maximized window of Notepad++ overflows onto second display

I am using an external monitor with my laptop. When I am maximizing notepad++ on laptop, the window of notepad++ overflows to the other display. It is hard to show the pixels that overflow. You can ...
1
vote
1answer
26 views

(Notepad++) Change dot on specific line to commas

i have problem i'm using Notepad++ and i wat to change commas to dot in specific line. exemple : <KEYFRAME TIME="10" > <WEIGHT>0,4774</WEIGHT> </KEYFRAME> </TRACK> &...
0
votes
1answer
52 views

Colon in filename creates pseudo folder. How do I see what's inside?

I can create a file with a colon : in the name. I am given to understand this should not be possible in Windows. I originally did it by copying text with a colon : into the filename to save a text ...
0
votes
0answers
17 views

Why has Notepad++ stopped actually going to the specified line, only marking it?

If I have Notepad++ running with no files opened, or if Notepad++ isn't running, and I run the command: "path to notepad++.exe" "path to whatever.php" -n123 ... it opens the whatever.php file in ...
0
votes
3answers
60 views

How can it be that most software for Windows treats each single update as if you are installing the software for the first time? [closed]

Notepad++ just nagged me about a new version for the millionth time. Finally giving in, this time I clicked "OK" with a sigh instead of "Cancel". And so it started downloading the latest version, but ...
0
votes
1answer
37 views

Prepending Text To Every Line Within Capture Group

What I have: X ( 1 2 3 ) BREAK Y ( 4 5 ) BREAK Z ( 6 7 8 9 ) BREAK What I'd like: X,1 X,2 X,3 Y,4 Y,5 Z,6 Z,7 Z,8 Z,9 I'd prefer to figure out how to do this using RegEx in Notepad++. As I ...
1
vote
1answer
45 views

How can I make evenly tabbed list in Notepad++?

I want to make a list which currently looks like this Hystérie Connective 3:09 Ghetto 2:41 Clé De Contact 2:50 to look like this Hystérie Connective 3:09 Ghetto 2:41 Clé De Contact ...
-1
votes
2answers
30 views

How to append a group of lines after another group of lines? [closed]

How to transform this text from: Chapter 1. Horse Chapter 2. Orange Chapter 3. Computer /1 /2 /3 to Chapter 1. Horse/1 Chapter 2. Orange/2 Chapter 3. Computer/3 I'm not sure if regex is useful ...

1
2 3 4 5
47