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
0 answers
11 views

Set DSpellCheck in Notepad++ back to using Notepad++ context menu

I have mistakenly set DSpellCheck to use own button for word correction: Now, each time I am trying to change this: This is not possible / this is being ignored, because clicking on OK, Cancel or ...
  • 10.4k
0 votes
0 answers
20 views

default program messes up with filetype icons

I open registry and navigate to this location: HKCU:\Software\Classes\.txt. Then I change its (default) value to txtfile.custom. Then I go to this location: HKCU:\Software\Classes\txtfile.custom\...
0 votes
0 answers
17 views

Is there a way to get Notepad++ to spellcheck a heredoc?

I love the spellchecking I have with Notepad++ DSpellCheck, but it doesn't spellcheck bash heredocs. Is there a way to change this behaviour?
  • 572
-1 votes
2 answers
38 views

How to convert in Notepad++ using regular expressions?

How to convert «Ctrl+(any letter)» Any words to «Ctrl+(any letter)» — Any words? For example. I need like this: «Ctrl+T» Free transform «Ctrl+D» Deselect selections etc. Convert to: «Ctrl+T» — Free ...
  • 19
-1 votes
1 answer
53 views

Find multiple matches and place all at multiple location instance

so I have this comma delimited file that I need to import but I need to do some replacements first. A sample is as shown below; item A,<u>1 a1</u> red<u>2 a2</u> etc,content,,,,...
  • 181
0 votes
1 answer
13 views

Notepad++ Settings Don't Save Between Sessions

Running on Windows 10, with Notepad++ 8.4.7. When I create a custom shortcut in Settings > Shortcut Mapper, it works for the current session I have open. If I save my file, close the program, and ...
0 votes
0 answers
27 views

Replace word(s) before or after certain strings

I have a text file containing 500+ lines of text. On each line there will be a portion that begins with <p><strong>Spell Lists.</strong>, then has a list of "classes" such ...
0 votes
1 answer
18 views

Regex: Delete all lines between STRING, including STRING, but keep the above line

I'm trying to use Regex to get the object names out of a list. All items have "Type:" directly under its name, so I'm trying to use that. The list is something like this: Example Object Type:...
1 vote
0 answers
66 views

Shutdown without Notepad++ asking me to save open files

It used to be that I could just shut down (Windows) without Notepad++ bothering me. And when I turned my computer on again, Notepad++ could just open with all the same files as before. But after the ...
  • 133
1 vote
1 answer
40 views

Keywords in plugin Task List for Notepad++

In relation with manage TO-DO list in Notepad++ I have an unexplained behaviour with the installed Notepad++ plugin Task List. I have added the file npp_task_list.cfg to the right folder. I see also ...
0 votes
1 answer
13 views

Remove all xml parents, keep ones with specific children (regular expression)

I'd love to delete every parent that doesn't contain specific value, such as for example <drawableDictionary>l_njdocklod12</drawableDictionary> Example of XML to work with below: <?xml ...
  • 1
-4 votes
0 answers
21 views

How can I delete everything in txt and leave only 2 counts from all lines in Notepad++? [duplicate]

what i have in txt file "100009504019173","","","+96611","","","Shahzi","Khan","male"," "...
0 votes
1 answer
69 views

How can I delete everything and leave only this in Notepad++?

I'm trying to get rid of everything after a column in Notepad++. Column mode is not an option. Is it possible? What I have 1111111111,,,+96,,,Aadil,Al Jadeedi, 2222222222,,rock@email.com,+96,,, What ...
0 votes
2 answers
16 views

Split on line based on a character

I am trying to solve the problem below, but struggling to find something that works. I have a large text file, 2 lines shown as an example: TEST ABCXYZ:1234 PNT = 543210 TEST ABCXYZ:1256 PNT = ...
  • 1
-1 votes
1 answer
24 views

Regex: Add particular words from list to every 5 words - random

I have this words list: of, in the, that, as to, can, may, due to the fact that Also, I have this text/paragraph: The teaching methods represent the ways used in the school by the teacher to support ...
0 votes
1 answer
38 views

How can I combine 2 txt files in notepad++

So I have 5000 lines of numbers and I want to add 1000 lines from different txt file next to each number example: 1st file: 1312838 4134321 5436234 5245454 2465645 2nd file: SUQVPZW MADNODA YZXQBLK ...
3 votes
1 answer
319 views

Regex: Delete all lines before STRING, except one particular line

I want to delete all the lines before <!DOCTYPE html>, but I want to keep the line that starts with: $item_id = <?<!-- ÉTOILES R -->); $item_id = 1442 ; // Remplacez-le par ...
1 vote
1 answer
22 views

NotePad ++ replace only in the next few lines

How can I replace the text only in the next, for example, 5 lines? For example, I want to replace the TITLE only in the next 5 lines, not in the whole document.
  • 45
-1 votes
1 answer
34 views

I'd like to leave only 10 letters behind

For example I have: Find more information about how to ask a good question here I'd like to leave only 10 letters behind. stion here
2 votes
2 answers
77 views

Add a closing tag

I need to add a closing tag, how can I do this in NotePadd++ using find replace? <cost>975 <release>2013-06-12 I need this: <cost>975</cost> <release>2013-06-12</...
  • 45
0 votes
0 answers
24 views

Truncate xml field at 45 characters [duplicate]

This is similar to How do I delete characters after 10th character from xml tags Notepad++? but with a different syntax. Given this data: <I s="FNGU.K" n="Bank of Montreal ...
  • 1
1 vote
2 answers
96 views

How to use notepad++ to Extract 4 digit numbers from a string of numbers

Assuming that I have string: [(3749.0, 77.19), (3699.0, 86.11), (3648.0, 90.87), (3623.0, 81.35), (3608.0, 88.06), (3601.0, >97.73), (3576.0, 79.31), (3558.0, 84.12), (3551.0, 94.65), (3525.0, 82....
  • 11
0 votes
1 answer
34 views

how to transpose 1XN into NX1 in notepad++

How to convert, in windows, the following 5.89813e-01 5.38450e-01 4.28379e-01 2.72359e-01 into 5.89813e-01 5.38450e-01 4.28379e-01 2.72359e-01 There appears to be 2 spaces between each number.
0 votes
1 answer
111 views

how to remove all zero width space from the text?

I know how to use regular expressions to do the mass search and replace task in editing program But I don't have or can't find the entire list of zero width space unicode. I quick searched the google ...
  • 1
0 votes
1 answer
142 views

Regex: delete all html tags from html tags, except some other html tags

I need to delete all html tags, such as <p style="text-align: center;"> , but except </em> and </em> from the html tag <p class="glovo"></p> EXAMPLE: ...
0 votes
2 answers
22 views

Find word that it is included in the tags, and if yes, delete that tag (with regex)

I have 2 html tags. But only the first tag has these 2 words: elementor and widget. So I want to find all html tags that has those 2 words, and if finds, delete the entire tag. <p class="jopp&...
0 votes
2 answers
40 views

Regex: Delete everything (all the text) before a particular word, but not after it

Chances are your color consultant has worked with hundreds of different clients over the years. WORD_1 They Have the Knowledge and Expertise I need to delete all text before WORD_1 but not after it. ...
0 votes
1 answer
28 views

Notepad ++ How to remove/replace text in the url

I've been trying this for an hour and can't seem to get the right regular expression any ideas? From this: https://shopee.co.id/-Full-Version-Mentor-Graphics-QuestaSim-2021.1-Windows-2021.2.1-Linux-...
-1 votes
1 answer
43 views

REGEX: Delete all extra inverted commas/quotes from a particular html tag

In the example below, you will see a extra comma after word wife. That is extra, and I must delete those kind of commas from all such tags <meta name="description" content="My name ...
0 votes
1 answer
33 views

Excel: How to convert/format a column of text/values into a table made up by every nth line (n columns)

I'm having to fiddle with Notepad++, Excel 'Text to Columns', regex find replace. So painful. Must be an easier way?? Ive got: heading1 heading2 heading3 value1 value2 value3 And I want: heading1 ...
  • 21
1 vote
1 answer
65 views

How to copy first line of text file to start or end of all another lines?

I am currently editing down multiple large text files (maybe 500 different text files) , and need to copy first line of text files to start or end of all another lines For example this is one of my ...
0 votes
2 answers
85 views

How to fold text files?

I am currently editing down multiple large text files (maybe 500 text list files) , and need to fold this files For example this is one of my text files: 1966 Q3 Fort COB LGL Asse AP BAS Lis 46.81 11....
0 votes
1 answer
33 views

How can I delete everything before and after text that selected by regex? [Notepad++]

I am currently editing down multiple large text files , and need to delete everything before and after text that selected by this Regex ^NewPage.+?NewPage$ For example i have this text: V.prototype.Jb=...
0 votes
1 answer
31 views

Notepad++ any character any length

In notepad++ how do I use find, to match anything, so that this search will work? User [ANYTHING.ANY.LENGTH.ANY.CHARACTER] from [ This is some extra random text, because this website wont let me post ...
0 votes
1 answer
30 views

Notepad/Notepad++ Quote entire line if comma is present

I have a rather large data set that is requiring quotes (") to be placed at beginning and end of the line only if the line includes a comma somewhere within the line (could be different places ...
  • 1
0 votes
0 answers
39 views

notepad++ the Option to Begin/End select is not there

I need to select a range of 200,000 lines from a file and I found this post here: https://stackoverflow.com/questions/19161262/select-range-of-lines-in-notepad The only issue is the option to Begin/...
1 vote
1 answer
56 views

Replace two strings at the same time with one in Notepad++ using regular expressions

How to replace two strings at once with one in Notepad++ using regular expressions? I need this: ================ ================ Replace with this: --------------
  • 19
2 votes
1 answer
39 views

How can I insert a list of names from one list into the 2nd line, then increasing by 3 lines there after in Notepad++?

I have a list of servers: v29a3xx01 v29a3xx02 v29a3xx03 And I'm trying to insert it into some easy commands, a template that I made: no (currently blank line) 1 no (currently blank line) 1 no (...
  • 23
1 vote
1 answer
21 views

Apply multiple search exclusions in Notepad++

I have a few hundred lines of code like this to check (just as an example): q_Var1_q = "Hello, " q_Var2_q = "World!" msgbox q_Var1_q & q_Var2_q I want to check if I haven't ...
0 votes
0 answers
55 views

notepad++ different behavior based on file type - auto scroll to the bottom and start monitoring (tail) when opening *.log files

Whenever i open log file in Notepad++, I'd like to automatically scroll to the bottom and enable monitoring (tail). I know of Settings - misc.- Update silently and scroll down after update, however I'...
  • 1
0 votes
1 answer
583 views

Regex: Find al words between <em> and </em> html tags, that have no space before `<em>` and after `</em>`

See this sentence below: A space of creation conceived as a <em>full</em>attributed to myself. You see that is no space before and after </em> So, I need to find al words between ...
  • 756
0 votes
1 answer
273 views

How do i remove spaces after a specific character or seperator in notepad++?

Example lines: hi ho:hi ho bye no:bye no hi bye no:hi bye no and i want: hi ho:hiho bye no:byeno hi bye no:hibyeno so basically i want to remove all spaces after _ some lines also have multiple ...
0 votes
2 answers
383 views

Replace date format in Notepad++ using regular expressions

I have dates as MonthYear, Month-Year (ex: May16, Jul-21) but I need them to be in dd.mm.yyyy format. For example: Aug20, needs to become 01.08.2020 May-19, needs to become 01.05.2019 Jul18, needs to ...
  • 19
0 votes
1 answer
49 views

Extract only specific fields from csv file in NotePad++

I'm trying to filter a csv file. The format is in the following order 1,2017-06-27,"The Greatest View","Flume Feat. Isabella Manfredi",https://www.shazam.com/it/track/99802230/the-...
  • 3
0 votes
0 answers
72 views

Saved terminal text from MobaXTerm not keeping color once opened in Notepad++

Is there a plug-in or way for Notepad++ or MS Visual Code that does plain text or rtf highlighting to have my terminal output from MobaXTerm display the same (color and format) once opened in Notepad++...
1 vote
2 answers
449 views

I want to remove everything before last space

I have text with 10k lines like this in notepad ++ Last: 07/06/2006 04:00:00 mazorcanyona3:orestes88 Last: 08/18/2005 02:18:25 alexloveridge:scotty123 The last space is after the time. I want to ...
  • 13
3 votes
2 answers
35 views

Ignoring timestamps, how to remove non-chat duplicates?

Ignoring timestamps, how may one remove non-chat duplicates in the following? The chats have 2 formats beginning by a nickname surrounded by angle brackets and starting with a nickname followed by &...
  • 45
0 votes
0 answers
81 views

Getting Notepad++ to always color matching braces

Notepad++ (and many other IDEs) color the matching bracket when the cursor is next to it. An example (text and image here): figure;plot(Freg,20*log10(1e-15+abs(squeeze( sum(AS(1:64,258,:) ‚1 )))) ...
0 votes
0 answers
79 views

Position and Column indicator

I am currently using Notepad++ v8.4.4 Happy User's Edition. I need to edit files that have multiple lines (records) and the Column and Position indicators at the bottom of the window start at ...
  • 1
0 votes
1 answer
32 views

Notepad++ replace and exclude certain column

Hi I'm totally new with notepad++ and I need some help with replace function in regex. What I'm trying to change is something like this from 640F0000 00000000 00000F01 640F0000 00000000 00002A01 ...
  • 3

1
2 3 4 5
55