Skip to main content

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
1 answer
23 views

How to add a word after every EVEN line and after every selected text using regular expression in Notepad++

I have a m3u file in the following format: #EXTM3U url-tvg="" #EXTINF:-1 tvg-id="Sansad.TV.in" tvg-name="Loksabha TV" tvg- logo="https://static.wikia....
ls_milkyway's user avatar
-1 votes
0 answers
16 views

use notepad++ with visual studio code keymap

I want to use in Notepad++ the same keys of Visual Studio Code. I know that maybe there are some minor differences, or commands that works slightly different. my searchs: Searching in internet I found ...
Emilio Platzer's user avatar
0 votes
0 answers
10 views

Replace on autocomplete selected

Is it possible to configure Notepad++ to replace certain words after we select them from the autocomplete dropdown. For instance, I have made a user defined language and in that xml file have entered ...
Mercurial's user avatar
0 votes
2 answers
31 views

How to Replace Integers and Decimals in Notepad++

The following series of numbers need to be replaced: 1 10 12.34 10.000 08 And get the following result: {'1'} {'10'} {'12.34'} {'10.000'} {'08'} The search pattern (\d+\.\d+) only works with ...
ayr's user avatar
  • 143
3 votes
1 answer
72 views

How to delete all text after the 8th comma with Notepad++?

I have a TXT file with a lot of rows. Each row has several pieces of data, separated by commas. Is there a way of deleting all the data after, say, the 8th comma?
user2159450's user avatar
1 vote
1 answer
40 views

My Goal is to replace "Start > Run > "notepad" with launching VSCode instead of notepad. I want the same behaviour for Powershell > "notepad FILE1"

This is a tricky question. Notepad3.exe comes with a commandline option called /z Notepad++.exe comes with a commandline option called -notepadStyleCmdline -z VSCode does not come with this option. ...
PythonWubiUser's user avatar
0 votes
1 answer
46 views

Is there a way to search lines of text for specific words, select all lines the word is on, and copy them all

So if I have a list like (1.The_CAT_and_the_DOG_are_friends. 2.The_CAT_is_named_Purr. 3.The_DOG_is_named_Bark. 4.It_is_raining_CATs_and_DOGs.) so if I search for the word named only lines: (2....
R Medrano's user avatar
0 votes
1 answer
22 views

Moving line to previous line if meets condition

I have a file with various rows but in some cases my data breaks one row into two. I would like to move from this. 815    =   Other motor vehicle traffic accident involving collision on the highway ...
Sean_C's user avatar
  • 1
0 votes
1 answer
70 views

How to compare between two text files to find a missing word that we want with Notepad++?

How to compare between two text files to find a missing word that we want with Notepad++? In my case, I'd translated txt from English to Thai but sometimes \n is missing from many lines. So I want to ...
Girat Pikulgaen's user avatar
-2 votes
1 answer
19 views

Regex Generic Formulas: Find something between two entities (two strings)

I have this case: <p class="text_obisnuit">2. And you can customize the vision according to the meaning that people give to it. their lives?<br> </p> I want to find any &...
Just Me's user avatar
  • 864
0 votes
0 answers
30 views

Notepad++ Tab key makes cursor jump to end of whitespace-only line

If I have a line that contains just tab characters, and the cursor is in column 1, hitting the Tab key moves the cursor to the end of the line, and appends another tab character. Can this behaviour be ...
StuartN's user avatar
  • 101
-1 votes
1 answer
15 views

Regex: Replace all empty spaces between

Replace all empty spaces between and first word, from the paragraph: <p class="text_obisnuit"> Lorem Ipsum is simply.</p> I try this, but isn't working: FIND: <p ...
Just Me's user avatar
  • 864
0 votes
1 answer
42 views

Notepad++ : modify document on Save

How would I do this? Whenever I save a file, I would like Notepad++ to: Find a line in my header near the top of the file that looks like "DateTime: ${stuff}$" and insert the current date/...
mnemotronic's user avatar
-1 votes
2 answers
59 views

Remove spaces between quotes

I would like to remove the unnecessary space given after the opening quote and before the closing quote. I have huge data with this kind of text in Notepad++ Sample Text The is the start of a ...
Shahid's user avatar
  • 109
0 votes
0 answers
49 views

Can Notepad++ be made to respect virtual desktops?

Notepad++ is my preferred text editor for all types of plain text work, but it has a problem that is interfering with my ability to use it at all. I often need to use Windows 11's virtual desktop ...
Jonathan Sachs's user avatar
0 votes
1 answer
29 views

How to correct punctuation with a regex in Notepad++?

My sample text is this: This is a demo . Of all the places you want to go here! Superb work ! Is your name John ? Or is it that you are hiding your name? Seems to be a good work.But as you know this ...
Shahid's user avatar
  • 109
1 vote
0 answers
51 views

Notepad++ Match pattern across lines [closed]

I have a file with pairs of variables separated by other text: THING_1 Number_Of_Thing = 7 Other lines Type_Of_Thing = 1 THING_2 ... I want to find each pair of Number_Of_Thing = 7 and Type_Of_Thing = ...
user avatar
-1 votes
2 answers
47 views

How do I remove a specific character from a text where it is the first character in the line, using Notepad++?

I have a list of numbers that will start with 1 and +1 so I need to remove the number 1 and +1 from all lines that start with these specific characters. Example: 19178741551 +19178741551 19178741551 ...
Jay's user avatar
  • 1
-1 votes
1 answer
64 views

Add an underscore after numbers in Notepad++

I have a scenario where I have list with some numbers in Notepad++. Here is the sample text: 1-This is item one 2_This is item two 3This is item three 4_This is item five 5This is item six 6 This is ...
Shahid's user avatar
  • 109
2 votes
0 answers
42 views

How can one close all non-existing files at once in Notepad++?

When closing a non-existing file in Notepad++, one gets this window: How can one close all non-existing files at once in Notepad++? I use Windows.
Franck Dernoncourt's user avatar
0 votes
1 answer
76 views

Searching for "part" of a word/line in Notepad++

I have a large list of movies I have the filename in a text doc. I'd like to be able to type part of a name of a movie to search and see if I have that movie. The problem is, some movies are names ...
jeff clapp's user avatar
0 votes
2 answers
67 views

fixed number of columns (characters) per line in notepad++

I tried to follow the procedure here Code length limiter in Notepad++ but I have version 8.6.8 and the menu settings > preferences looks different: Neither in Editing 1 or Editing 2, I can find ...
Simon's user avatar
  • 103
4 votes
1 answer
704 views

Dark mode in Notepad++ doesn't work with user defined language

I have a User Defined Language like this in my Notepad++ v8.5.8 In a light mode, the display looked fine However, when I used Dark Mode, all the text was highlighted in white, making the display ...
Nemo's user avatar
  • 145
0 votes
0 answers
133 views

Notepad++ mode for git commit messages

I want to use Notepad++ to help formatting git commit messages. NOTE: this is NOT a question about setting up git to open Notepad++ as its editor, I know about git config. This is NOT about running ...
Gauthier's user avatar
  • 1,235
1 vote
0 answers
26 views

How to style syntax only on delimiter close?

[Menu bar > Language > User Defined Language (v2.1.0.12)] In the custom language I defined, I'm changing the style of the text based on if something is enclosed between asterisks (*). It works ...
bobcat's user avatar
  • 11
0 votes
1 answer
50 views

How to delete both original and duplicate values in different lines a notepad++

How to delete both original and duplicate values in different lines a notepad++ Example 2 3 2 2 2 2 Desired 3
Ariyo Eledamasun's user avatar
-1 votes
1 answer
47 views

Extract all strings having a common substring in notepad++ [closed]

I would like to know if I can use notepad++ or tcl to extract all words containing "_Ori" from below Example text: R_yu_rfe_h2c_PSM_to_LTSV yoc_cu_h2c_PSM hrr_cti_h2c_LhSV '(...
krishnaganth gunasegran's user avatar
0 votes
0 answers
26 views

Why are font sizes different across notepad++ panes? How do I make them the same?

I already have "Enable global font" and "Enable global font size" checked in the Style Configurator. But the font sizes are clearly different.
AdamC's user avatar
  • 101
2 votes
0 answers
108 views

How can I jump to the parent node of a JSON object in Notepad++?

Let's say my cursor in Notepad++ is here: How can I easily jump to the parent node? E.g., is there a keyboard shortcut for that? Full JSON used in the example: { "boats": [ { ...
Franck Dernoncourt's user avatar
1 vote
1 answer
465 views

Cascade formatting Excel formula

I use Excel and Smartsheet a lot and make some very complex nested formulas. Because these are written in sheets rather than in any kind of IDE, there is little or no formatting to them for legibility,...
Spencer Barnes's user avatar
-1 votes
1 answer
60 views

Rename the tag in the XML file

Please tell me how you can rename replace a tag using Notepad++: <offer id="124439" name="Alchimia Olive 7,5x30"> Replace by <offer>Alchimia Olive 7,5x30</offer> ...
prokesha's user avatar
0 votes
2 answers
45 views

Notepad++ Regex search with characters before and after IP address

I have a huge file with text before and after many IP addresses. I'm trying to extract just the IP addresses that fall within x.x.x.x. The unique characters in the line look something like this: |SIP=...
AxelKong's user avatar
2 votes
1 answer
139 views

Notepad++: Search and replace/delete timestamps in brackets []

I have a transcript that starts each line with a timestamp followed by 2 spaces and text, like this: [00:00:00] Line 1 [00:00:02] Line 2 How can I search and replace(delete) all those timestamps and ...
Poldi's user avatar
  • 31
0 votes
0 answers
72 views

How can I make notepad++ display the tab stops as specified in the language settings?

The vertical lines shown in notepad++ every 4 spaces, when I select python as the language they change to every 8 spaces, the tab ley actually inserts 4 spaces but the vertical lines do not show every ...
arana's user avatar
  • 642
0 votes
2 answers
130 views

How to convert CRLF on an empty line to \n without affecting other CRLF code elsewhere

I am writing a family history mini novel and have been working on it on a different PC. I used an old version of UltraEdit for my word processor. But it was not very compatible with Windows after XP. ...
Axel Slingerland's user avatar
0 votes
1 answer
85 views

Notepad++ does not open files in tabs

I've used Notepad++ for years. Normally, right-clicking a file and choosing "edit with Notepad++" opens it as a tab, allowing for easy cross-referencing during development. However, with new ...
julesverne's user avatar
2 votes
1 answer
63 views

Replace text surrounding a wildcard in Notepad++

So, many years ago when I started writing PHP code, I learned to format information sent from a form as such: $_POST[itemnamehere]; Whether that was right or wrong at the time, it worked. However, ...
teddytash's user avatar
1 vote
0 answers
50 views

Prevent renaming/moving file when file is open in Notepad++?

Usually with most programs, if I have a file open in that program, I can't rename/move that file (or rename/move its containing folder). In contrast, with Notepad++, I can rename/move that file, ...
user103496's user avatar
-1 votes
1 answer
43 views

Notepad++ How can I delete the return before the &

I want to remove a new line created right before an & SAMPLE TEXT: "Bachelor of Science in Nursing & RN" "Bachelor of Science in Nursing & RN" "Bachelor of ...
Cecil's user avatar
  • 1
0 votes
1 answer
64 views

Interpret an Unicode value as real character in Notepad++

If I copy an Unicode encoded value as actual rendered character (for example form here - 1D400) and paste it into Notepad++, it really does show it as a "bold" character. But when I try to ...
Anka Petkova's user avatar
3 votes
1 answer
350 views

Notepad++: Creating a macro replacing selected text

I need a Notepad++ macro that will perform search and replace, but for the portion of text that is highlighted at the moment of running the macro. I tried recording a macro, but it records for the ...
Krz's user avatar
  • 33
-1 votes
2 answers
110 views

Notepad++: How to keep only recurring lines and delete non-repeating lines

Say i had: Example Example 1 1 3 desired: Example 1
jvaier's user avatar
  • 1
3 votes
1 answer
102 views

In Notepad++/Sublime Text 3, how do I make all text lowercase by regex, but only if specific phrase occured in the line?

Say I have text like that: models/players/clonespac/CloneTorsoLieutenant { q3map_nolightmap q3map_onlyvertexlighting { map models/players/clonespac/CloneTorsoLieutenant ...
kerstoff0mega's user avatar
1 vote
1 answer
74 views

Select last 5 words of a paragraph in Regex

I want to match last 5 words of every paragraph in a document. I am using Notepad++ and also Adobe InDesign GREP Sample Data Here you can find activities to practise your reading skills. Reading will ...
Shahid's user avatar
  • 109
1 vote
1 answer
180 views

Notepad++ Advanced Search and Replace

Apologies if this has already been answered, but my searches have drawn a blank. I have a task to sanitise a number of device configurations by replacing the first 2 octets of an IP address. Trouble ...
Rainman149's user avatar
0 votes
1 answer
44 views

Notepad++ Regex merged 2 sections into one line delimited

I hope I can explain correctly. I have the text below, which consists of 2 sections, 1- the body and 2- the title and each one is separated by a "----" delimited. I am able to mark this data ...
robert's user avatar
  • 1
0 votes
1 answer
53 views

How to search specific columns (First and Last names) and replace all special Characters (non Alpha characters)

I have large .txt files (sometimes over 10K lines) that contain 5 fields that are both numerical and Alpha fields. The issue I am having is that the second and third fields are first and last names ...
Ray Naylor's user avatar
0 votes
0 answers
134 views

notepad++ - create udl which is a modified version of xml language

In notepad++, I want to create udl which is a copy of xml but instead of tags <...> and </...>, I want the tags to be <#...#> and <#/...#> for opening and closing folds. Why I ...
Rsc Rsc's user avatar
  • 11
1 vote
1 answer
306 views

User-Defined languages in Notepad++ (NLog)

In my current company, NLog is heavily used for logging purposes, and Notepad++ is used for flat text editing (like logs). I would like to add NLog as a user-defined "language", in order to ...
Dominique's user avatar
  • 2,321
-1 votes
1 answer
457 views

Convert columns into a single row in notepad++

I want to make .srt file for the subtitles. for that i had the text in excel file. I copied the text into notepad++. Below is the text i have, and under that the formatting i want for the .srt file. I ...
Abhinandan Gadge's user avatar

1
2 3 4 5
59