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

Find and replace from a different text document from each new line

I have some file conversion software that which works through cmd and doing something along the lines of: converter.exe input.wav -o output.wav --ffmpeg "-af volume=0.1" I'm trying to ...
1
vote
0answers
40 views

How to open Html files too large for browsers and Notepad++ [closed]

The specific html files I want to open are generated by a seed farming tool that I didn't create. It logs the game's world generation process repeatedly into a log html file and lays it out when ...
0
votes
3answers
46 views

Regex: Select strings/lines from one point to another point (with many \n)

I want to select all lines starting with <!-- FLAGS_1 --> and ending with <!-- FLAGS --> <!-- FLAGS_1 --> <div class="cautareField"> <...
1
vote
2answers
56 views

How do I find common lines in two files

Let's say I have: text.txt with 1 2 3 4 5 and another text2.txt with 9 4 2 1 7 And I want to extract the duplicates: 2 1 4 Note: I'm using windows, I want it to be as easy as possible
1
vote
2answers
33 views

Notepad Regex Formatting

Lets say i have 100000 words in a list ( Example ) Apple Orange Grape Bannana .... etc and i need them in this format <command name="FindRep" enabled="True"> <find xml:...
0
votes
1answer
18 views

Regex: Match and delete 2 words before and after the specified word

This is the line: I love you and George loves IOANA but also Mihai is my enemy. I want to match 2 words before IOANA, and also 2 words after IOANA The Output should be: I love you and IOANA Mihai is ...
0
votes
1answer
19 views

How do I delete text between 2 strings?

I have tried the regex expression .a href.*?..a. and .a href[^:]++..a. I want to replace .a href=.u.gogogo98. class=.3t5uN8xUmg0TOwRCOGQEcU rel=noopener nofollow ugc target=.blank..u.gogogo98..a. with ...
0
votes
1answer
19 views

REGEX: Select only the first word at the beginning of each line that contain the word HTML

I want to select the first word at the beginning of each line that contain the word HTML. For example: I go home now.html" and then Take me with you nowhtml" and then My book is great. The ...
0
votes
1answer
53 views

Regex: Select all words that doesn not have . (dot) in front of them

I have 5 cases: I search something in my-life.html" again> Don't trust mylifehtml" ever> <!DOCTYPE html> <!--<html xmlns="http://www.w3.org/1999/xhtml" dir="...
0
votes
1answer
25 views

Remove specific text separated with comma

I have srt file containing following text 1 00:00:06,139 --> 00:00:07,140 F/6.3, SS 800, ISO 200, EV 0, GPS (76.2463, 25.7251, 16), D 93.74m, H 35.00m, H.S 2.09m/s, V.S 0.10m/s 2 00:00:07,140 --&...
0
votes
0answers
20 views

Left shift for ctrl + shift + down arrow shortcut not working in Notepad++

I'm trying to map the "Move Down Current Line" operation to ctrl + shift + down arrow similar to how the up version is ctrl + shift + up arrow. Doing this prevents the left shift from ...
1
vote
2answers
36 views

How to change random domains to a simple domain using Notepad++

I have a file with a random domains like this: host-name estkowjf.tradicebk.cz domain-key smtp,*,/home/pmta/keys/dkim.pem </virtual-mta>...
0
votes
2answers
23 views

REGEX: Delete the content of all files that do not contain the word/words

suppose I have several files, some of them have the exact words MIRELA HOME and some doesn't. So, I want to delete the content of all files that do not contain the word/words, so that files to be ...
0
votes
2answers
17 views

Regex: Select and delete only the first word at the beginning of each line

I want to select and delete only the first word at the beginning of each line For example: My favorite flower is yello. I love cars. Book and flowers are my game. The Output should be: favorite ...
0
votes
2answers
24 views

Regex: How to turn more words in the line as if they were seen in the mirror?

Mirrors Actually Flip the Letters in a Word? Or, how to turn more words in the line as if they were seen in the mirror? For example: At the Olympics you run not only for yourself, but for all people. ...
0
votes
1answer
35 views

Notepad++ most efective log filtering method (filter out searches) [closed]

I spend a lot of time working with logs searching for problems rootcause. Most effective for me is to use function Find all in current document for some simple regex, but sometimes I catch a lot of ...
0
votes
2answers
31 views

How to delete all lines except lines which have a colon in the 4th column in Notepad++?

I have an extremely long text file with data:data:data, I'm trying to trim it down to only data with 3 characters before the first colon so it would be like xxx:data:data for every line while still ...
0
votes
2answers
61 views

notepad ++ Help need to split groups of 4,6,8 digits to groups of 2

I have some data and would like to split the groups of 4,6 and 8 digits into groups of 2 3 16 53 7282 192331 68 83 9 29364255 00001 4 10 57 7188 6 3943 6574 1228 4558 79 00002 2 415266 80 142433 7887 ...
1
vote
1answer
25 views

Ctrl X Replaces Text with Cancel Character CAN Notepad++

So I just realized this on a Laptop I recently started using. When I try a simple cut and paste in notepad++ it doesn't work. When I select a given text and press Ctrl+X, it simple replaces the text ...
0
votes
0answers
23 views

How to recover source code modifications accidentally closed in Notepad++?

I edited an existing source code file in Notepad++, there were unsaved changes, but I accidentally closed the file. How can I recover it? I know the file with the unsaved changes was in c:\Users\Tomas\...
0
votes
2answers
82 views

Regex: Select everything up to | but not | (between <title></title>)

I have this example: <title>Square Meters | Dragon White (en)</title> I want to use regex as to select everything up to | but not | (between ...) My 2 regex selects also the |, this is why ...
3
votes
3answers
130 views

Regex: Select everything on each line, after the first 2 letters of the beginning, but up to the dash

I have several many lines like this: af - miracle asfsa am - facut asfa az - ali baba asfa be - strong asas ty - asfa asfsa ... I want to select/delete all from lines after the first 2 letters. I ...
0
votes
1answer
21 views

Where Notepad++ keeps unsaved data? [duplicate]

In Notepad++ you can have tabs with unsaved data and when you reopen the app it is still there. I had quite a few tabs like that, when I installed Windows 11. I have disk backup. Where can I find this ...
1
vote
0answers
29 views

How do I swap text in regex and convert month to number equivalent?

I'm struggling to solve this problem in Notepad++. I'd really appreciate a good answer. Let's say I have this line: INSERT INTO example VALUES ('P1', 'V1', '27-Apr-2004', 20.00, '123', '1234'); And I ...
1
vote
1answer
48 views

Is it possible to repeat a replacement string in Notepad++?

I would like to replace matches in Notepad++ using the Find and Replace window with n repeats of a certain character. Is there any "repeat" or "multiply" syntax to enter a ...
-1
votes
1answer
17 views

Notepad++ search and add information, remove unwanted part

Using Notepad++ I have the following text: [url=https://test.net/abcdef/]123456.mp4 - 510.03 MB[/url] I want it to become: https://test.net/abcdef/ "abcdef, 123456.mp4 and later part" are ...
0
votes
1answer
24 views

Merging switch config in Notepad ++ Tips

The document and config is much bigger than this but for example.. I have the config all documented out in excel and I want an easy way to transfer this config to the switch without going back and ...
1
vote
2answers
54 views

Remove all spaces and tabs from ONLY specified segment line?

I use Notepad++ v8.1.1. How to find a specific segment and remove all spaces and tabs from ONLY that segment? E.g. I want to find all "EQD" lines and remove all spaces and tabs from JUST ...
0
votes
1answer
33 views

Notepad++ add information with a link in the middle

Using Notepad++ I have the following text: Testing Here One https://test.com/random https://test.net/random https://test.org/random I want it to become: Testing Here One https://test.com/random ...
0
votes
1answer
39 views

Regex: Add .dot at every 8 words

I need to put a dot after every 8 words. My regex is not so good: SEARCH: ((\w+){8}) REPLACE BY: \1.
1
vote
0answers
31 views

How do I remove old x86 File Association if Replaced with 64 bit program with the same name?

I originally had x86 Notepad++ and made it my opening program for a lot of file types.. I then switched to 64-bit Notepad ++, but now my file associations look like this. Is their any way to remove ...
2
votes
0answers
17 views

Some sort of Virtual Spaces suddenly turned on in Notepad++, no longer normally responding to keystrokes

While typing notes, suddenly Notepad++ wasn't responding to keystrokes correctly. Hitting delete did nothing, or would delete an entire line, or add keystrokes I didn't type. I could place my cursor ...
0
votes
1answer
32 views

Notepad ++ Find String and place symbol at beginning of line

I have 5000 lines. I need to find if a line contains a certain word phrase such as "package" and put a "1%" at the beginning of it. How would I do this with replace in notepad++? ...
0
votes
2answers
43 views

Notepad ++ / Extract text betwen ^ ^ and add it, as new line

I have a text file that I need to extract specific data elements from it ( the person fullname to add it as new line): ID:363712^CLARK/DEJA G^:e30276c2f826febd3784958:KZxhnbUUouxvMrTEYfGnDZ7YcGjPh ID:...
1
vote
1answer
245 views

Text editors; Unicode; the zero-width non-joiner character

I need to edit text files that contain unicode characters (in ReStructuredText for input to Sphinx). I'm pretty confident that most text editors will store and display most Unicode characters ...
0
votes
1answer
61 views

Open all unknown extensions with notepad++

I want to make all unknown files open using notepad++ by default (without having to select notepad after windows asks). I found this thread, but the answers were not very helpful. How do I associate ...
2
votes
1answer
60 views

How to capture strings between two words/characters

How to capture strings between two words/characters either or both words have multiple occurrences but I want the words both from the first column. 1. A-Hi hello C-0987654321 2. B-Zzzzzzzzzzzz D-Hi 3....
1
vote
1answer
37 views

Notepad++ find and add a string with available information

Using Notepad++ I have the following text: abc 123123 genre: test 1, test 2, test 3 I want it to become: abc 123123 genre: test 1, test 2, test 3 <tag>test 1, test 2, test 3</tag> "...
1
vote
1answer
32 views

Remove line breaks between brackets in Notepad++

I need to remove line breaks between 「 and 」 after the " 。" E.g. from this text: 「......Sample Text。 Sample Text two。 Sample Text Three」 I want to arrive at this: 「......Sample Text。...
1
vote
2answers
100 views

How to make the URLs unclickable?

In Notepad++, how can I remove hyperlinks from text that consists of copied and pasted URLs? Note: I do NOT want to change the overall behaviour of Notepad++. I just want to remove the hyperlinks from ...
0
votes
3answers
94 views

How to pull up data written between seperators?

I am a digital marketer with zero experience at coding. I'd like to pull up only the first data which is written between separators (|||) [VP/NNP] ||| talk here ||| walk here ||| PPDB2.0Score=6.03040 ...
0
votes
0answers
21 views

Notepad++ code folding issue

I have been using notepad++ for a while and generally its great. I am having an issue with the code folding feature. It works fine for the most part, but when there are multiple nested BEGIN/END ...
0
votes
0answers
38 views

How to force Notepad++ to only use commentLine character and not others?

The langs.xml shows this for VHDL: <Language name="vhdl" ext="vhd vhdl" commentLine="--" commentStart="/*" commentEnd="*/"> I want that the ...
1
vote
1answer
32 views

How do i put separator after each 5 string in 20 random strings?

Hello guys i want to know how do i put separators such as "-" or ":" after each 5 string in 20 random letters&numbers string of many lines using regex? So basically count 5 ...
-1
votes
2answers
62 views

How to make this Regex work?

i want to know how to make this Regex work ^....*:....* +[|].*$ And ^....*:....* +[=].*$ And ^....*:....* +[-].*$ It works without using ^ for first-line and $ for end of line Basically, i want to do ...
1
vote
1answer
18 views

From a list to a table

I have a list of thousands of lines of the following type: NAME1 SURNAME1 NAME2 SURNAME2 NAME3 SURNAME3 which I would like to transform into a two-column table of the following type: NAME1 ...
0
votes
0answers
16 views

Notepad++: Adding an alternate extension to a user-defined language

I'm using Notepad++ (v8.1.3) with the Steen-Hultin ReStructuredText add-in. My problem is that I need to use it with the extension .rsts as well as .rst, and it doesn't work. I opened userDefineLang....
0
votes
1answer
44 views

Copied \AppData\Roaming\Notepad++\backup to another computer but files not showing

I copied files in \AppData\Roaming\Notepad++\backup to another computer (new win10 SSD) but only new 1 is showing when I launch Notepad++. This used to work fine - has anything changed with the last ...
0
votes
0answers
24 views

Notepad++ open and start monitoring

I've looked into --help from notepad++ but there is not mention of this, so I'm asking here, is there a way to open a file and to automatically start monitoring the file? Normally what I do is I open ...
0
votes
1answer
29 views

How can I make notepad++ delete everything other than the contents of the 2nd " " on every line (including the " " things) and every odd line?

for example: line 1:"advancements.adventure.adventuring_time.description": "Tüm biyomları keşfet", line 2: "advancements.adventure.adventuring_time.title": "Macera ...

1
2 3 4 5
52