Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
31 views

Notepad++ won't filter filenames with wildcards on File > Open

Choosing File > Open or Ctrl+O in Notepad++ presents the list of files in the current folder, but I can't filter with wildcards, like *.txt. When I do that and click Open the Open dialog just ...
0
votes
1answer
43 views

How to avoid syntax-highlight issue with backtick escape sequences inside a template literal?

Notepad++ has an issue where it breaks the syntax-highlighting when using a backtick escape sequence inside a template literal. It doesn't happen when escaping a single quote in a single quote string ...
0
votes
1answer
20 views

Replace all words that start with @ by another word

So, basicly, I need to edit something like this: @john TEST TEST TEST @andrew EXAMPLE EXAMPLE @geady JK JK JK and I need to replace all of them to get like this: @replaced TEST TEST TEST @...
0
votes
1answer
19 views

How do I delete text before and after 1 character

For example I have: Apple:123456789:pear watermelon:57952161354:kfc How do I delete the text that's before and after the ":" to get this: 123456789 57952161354
0
votes
0answers
12 views

Is it safe to access files from shared drive by multiple software tools? [closed]

My project is on Oracle database. We provide fix in the form of PL/SQL script to deploy in the production and get the issue resolved. Hence for same issues we have standard fixes. If we want to ...
1
vote
1answer
52 views

Replace text at the first of the specific lines? Sigil or Notepad++ Regex

How can I replace text at the first of specific lines Example before: <p>– Your mother created a song?</p> <p>– She was a pianist.</p> <p>– Okay then, let us hear the ...
0
votes
1answer
32 views

regular expression help needed

I have a text of 8XX lines that look like this: id="**02_item2_02" duration="29" style="**joe" id="02_item3_01" duration="35.5" style="joseph" The text between id=" and style=" is never the same.  ...
0
votes
1answer
59 views

Merging two Notepad++ files and then overwriting into one of them [closed]

This question may sound peculiar but how can I merge two files (with changes) in one text? For those who don't understand the complex diagram, I have text on file 1 and file 2. I need to merge those ...
0
votes
0answers
18 views

Associate a bunch of unassociated file extensions with Notepad++ at once via batch

I've got thousands of files with extensions ".0", ".1", ".2", etc. that I want to associate with Notepad++ (v7.5.8). They currently don't have any file association in Windows (Windows 10). Since they ...
0
votes
1answer
23 views

Remove all lines that contain characters other than

I have a list of with words and unwanted characters hag-lawig ha waray katapusan / ¤ 8¨2Þ‹%·/ój An ngatanan nga makakita ha akon I want to remove all lines that contain characters other than a ...
1
vote
1answer
69 views

How to delete same lines in Notepad++?

I want to find out if there are any extra files between a long list of files that I generated. Because I`m weak at explaining stuff with words, I'd rather illustrate. This is an illustration of the ...
0
votes
1answer
37 views

Remove all but one word in a line - Notepad++

I'm looking for a way to search for a specific string e.g. '@' and delete everything before and after that string. I would prefer a way/macro/addon for Notepad++ but anything would be helpful. Here ...
1
vote
0answers
18 views

Notepad++ Regex help required

I have a several hundred thousand line XML file that is full of data I don't need. I'm looking for a way to bulk delete thousands of irrelevant lines and am aware this can be done through find-and-...
0
votes
2answers
53 views

How to remove a user defined language in Notepad++

I just added a user defined language in notepad++ by importing an XML. Now, I want to remove this language from the notepad++ Language menu. How can I do that? If I use the Settings->Languages menu ...
0
votes
0answers
13 views

Can I have auto-completion on notepad ++ on different tabs?

So I'm creating games and every new tab I open on notepad++ I have to type (for the first time) the full variable name in each tab, and I was wondering if there is some option to have autocompletion ...
0
votes
0answers
11 views

can't change associated app for file (from Property) to Notepad++ [duplicate]

I don't know, even after reinstalling the Windows the same happens - I can't change the associated program from right click > Properties when I want to change that to Notepad++ (for others, it ...
0
votes
1answer
22 views

how to remove some elements from an html file with notepad?

I have a Html file containing lists, images and span tags I want to bring name of the images and text between the span tag and remove the rest , I think that there is some Reg Exp that can do this ...
1
vote
1answer
31 views

How to place Find Results window to the right of text window?

My Find Results widow is always opened and docked and is seen under editing text file. Since strings are often short than I want both text and Find Results window to be high (but narrower). How to ...
1
vote
1answer
38 views

Notapad++ column editing: how to deselect a clicked location?

1- There is an option in NP++ to hold Ctrl while clicking in multiple locations in the text file, so the cursor stays there for multi-editing. I want to know how to de-select a clicked location? I ...
2
votes
2answers
236 views

Plugins Tab Disappeared For No Reason?

So I was using Notepad++ as per completely normal, went to use the compare plugin, and it's no longer there. I've literally changed nothing about my installation, and the plugins tab has always been ...
0
votes
0answers
25 views

How to remove breaking lines between two strings delimeters

I would like to remove all type of breaking lines between two string delimeters basically by replacing any type of breaking line encountered between these two delimeters with a single space character. ...
0
votes
2answers
28 views

How can I find & replace a single word to multiple different words?

Using MS Word or Notepad++, I wish to find and replace a single vocabulary to multiple different synonyms. For example, from my text, I found that a specific word AAAA appears too frequently. So, I ...
3
votes
1answer
93 views

Notepad ++ complex pattern search

Hi i'm looking for a notepad++ regex pattern match in a text, and bring some replacements. But so far what I have come up with does not seem to work. Sample text: 1 blablablabla. blablnsnsnns, ...
0
votes
2answers
124 views

Remove everything except what is in brackets?

I want to remove all text except for [ and ] and what's between them.  How would I go about doing that in Notepad++? Example input: [A B C] bla bla text here [D E F] bla bla text here [G H I] bla ...
0
votes
1answer
46 views

Regex find duplicate of partial string

Im stuck with regex command, to find duplicate of partial string. 1st problem: This is what I have in my file 1;0197CE75;BC702 2;01966666;BC702 3;018B9AC5;BC702 42;018B9E21;BC702 6;018B9AC5;BC702 ...
0
votes
0answers
60 views

`.TXT` file association to Notepad++ “stopped working”

I recently formatted and then reinstalled everything, but oddly now, Windows 7 refuses to let me set Notepad++ as the default .TXT editor. I try to set the "open with" file as usual: right click ...
1
vote
1answer
18 views

Find and replace first digit with a constant 3 digits with notepad++

I have a bunch of numbers like this: 0772789675 0756789878 0701789976 0796788765 All the way, they're about 1000 in a notepad++ file. I would want to prepend them with 256 in this format ...
0
votes
1answer
64 views

Using Notepad++, how can I add multiple suffixes to one prefix?

So I have a list of 3,125 inputs as such: fdfffff, fdffffd, fdffffs, fdffffa, fdffffg. Each input starts with fd but then a random combination of the letters f d s a and g to fill in the next 5 ...
0
votes
1answer
37 views

Delete lines which contain only + signs

I am trying to convert my html document to asciidoc. But result lines have weird + signs like these: ++ + Mandatory Relationship + * *many-to-many* – because databases don’t support this kind of ...
0
votes
2answers
34 views

How to delete everything after the next colon

Test123:Password:7 AUG 2018 Test123:Password:7 AUG 2018 Test123:Password:7 AUG 2018 I want to remove everything after the second colon for all lines, I tried ^([^:]*.[^:]*):.*$ and it didn't work,
1
vote
3answers
54 views

Regex: Remove every two or more spaces between specific tags and leave just a space instead

I want to remove every two or more spaces between specific tags and leave just a space instead: For example: <p class="text_obisnuit"> The context of articles, stories, and conversations ...
0
votes
0answers
33 views

notepad++ access folders outside home/user folder on ubuntu

I am running notepad with snap. How can I access shares and folders on my computer outside home/user? What kind of rights do I need to set?
0
votes
1answer
39 views

How to comment multiple rows with # on Notepad++ [duplicate]

There is a similar question but it shows how to comment with // since I'm using notepad ++ to view Python scrips the comment needs to be # and not // How can i comment multiple rows with # ?
0
votes
1answer
43 views

Notepad++ search result window gone forever - All discussed tricks don't work

I lost my "search result window" in Notepad++. (Using Windows 7 64 Bit, running Notepad++ 7.5.9 32 Bit) - I tried the following: Alt+Space / Move Window (not working) Press F7 to activate "search ...
0
votes
1answer
26 views

Regex: Select all from row except tags

I have this kind of rows. <li><a href="love-and-attitude.html" title="Love and Attitude">Love and Attitude (24)</a></li> <li><a href="paint-and-gain.html" title="...
-2
votes
1answer
38 views

Notepad++ Web Search text/convert text to url

I'm wondering if it's possible to convert text to a Google or Bing search in Notepad++. For example, if I have: monarch butterflies corn chips cakes vs pies in a .txt file, is there a ...
0
votes
0answers
26 views

User-Defined Language; color keyword outside of quotes

I want to use Notepad++ to show me where the word "you" occurs outside of quotes by coloring said word red. It would also be nice if every word in quotes were marked as green.
0
votes
1answer
27 views

Setting default language to 'JavaScript' doesn't actually set it

I'm using Notepad++ v7.5.8 (64 bit) on Windows 10. I set my default language to Batch. After creating a new doc, typing some code and hitting save - it'll automatically select *.bat as the file type....
1
vote
1answer
358 views

Can't use Notepad++ as default program for .txt

I am trying to set the default program for opening a .txt file to Notepad++. I can change the default program to Wordpad, and it stays like that. If I change it to Notepad++, it immediately switches ...
1
vote
1answer
45 views

Disable “overwrite” confirmation for folders in Notepad++

Whenever I write a new file in Notepad++ and want to save it in certain folder, I usually: copy this folder's path to clipboard from some source (Total Commander, file explorer etc.), paste it to "...
0
votes
1answer
44 views

Why are PHP files in CMD launching Notepad++ instead of running in the prompt?

I'm trying to run a MediaWiki script called RunJobs.php, which I have done many times before on the same system. All of sudden, today when I try to run the script in CMD on Windows 10 instead of ...
1
vote
1answer
68 views

Notepad++ NppFTP SSH Tunnel

I am currently stuck on whether it is possible to connect via SSH Tunnel on Notepad++ Extension NppFTP? I can connect via SFTP to the server directly however about to loose that connectivity and thus ...
10
votes
2answers
2k views

Add character to every number via Regex in Notepad++

I have a very basic question which i just can not get my head around. I do have a text document like this: This is 5 a test! This 3 is a test! This is a 9 test! and i want it to look like this: ...
0
votes
1answer
70 views

How can I make an old file easily readable?

I have this old .dat file (mid 90s), apparently encoded in ANSI, 4000 lines, consisting mostly of controls like NUL, SOH, ETX, STX... that I'd like to read. I tried to convert it to UTF-8 with ...
0
votes
1answer
23 views

Notepad++: Typing the “greater than” sign inside the already closed HTML tag auto-inserts another closing tag?

I'm using the version 7.5.8 and I noticed that it auto-closes the already closed tag if I type the > sign in between. E.g., if inside the body tag I type ul>(attempting to use the Emmet's ...
0
votes
0answers
33 views

Notepad++ Replacement String with NUL Truncates After NUL

Using Notepad++, I'm trying to replace a string (in a binary file) like this: ANULpNULpNULlNULeNUL With another string like this: ONULrNULaNULnNULgNULeNUL So... Using the following format of ...
2
votes
2answers
98 views

How to delete all text except for what's inside quotation marks?

I want to remove all text except for what's between quotation marks. How would I go about doing that? Example: Bran could hear the wind in the trees, the clatter of their hooves on the ironwood ...
2
votes
2answers
25 views

Notepad++ - Removing joined duplicated word

I have problem with duplicated words, they are joined without any space. For example, if we have literally notepadnotepad how can I change it to single? notepad
1
vote
1answer
27 views

Notepad++ - formatting text to achieve 3 columns of text separated with tabulators

I would like to format a text in Notepad ++. What I try to reach is to create 3 columns of text separated with the tabulators. I would like to do it with Find/Replace Function. Lets say that you have ...
0
votes
1answer
39 views

Notepad++ regex command for searching two following lines

I want to search a file for a word in a line and another word in the line after that For example i want to find a line which contains 75 37 and i want the line after that to contain 8B 45 FC Is there ...