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.

0 votes
0 answers
31 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
23 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
  • 95
0 votes
0 answers
43 views

Notepad++ Match pattern across lines

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
45 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
-2 votes
0 answers
31 views

\G Token in Regex [closed]

I am trying to get a grip of \G token and struggling to understand its proper use. I went through some of the constructs using \G token and I am totally at a loss, how to use them, when to use them or ...
Shahid's user avatar
  • 95
-1 votes
1 answer
47 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
  • 95
2 votes
0 answers
39 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
70 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
36 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
605 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
63 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
20 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
40 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
43 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
25 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
72 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
201 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
56 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
41 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
100 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
52 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
83 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
63 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
47 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
42 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
35 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
51 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
2 votes
1 answer
256 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
  • 23
-1 votes
2 answers
92 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
2 votes
1 answer
99 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

15 30 50 per page
1
2 3 4 5
97