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.

-1 votes
0 answers
23 views

\G Token in Regex

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
  • 97
-1 votes
1 answer
43 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
  • 97
2 votes
0 answers
38 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
65 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
34 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
587 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
55 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
19 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
38 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
63 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
150 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
55 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
40 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
88 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
49 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
77 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
60 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
43 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
40 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
32 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
46 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
232 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
98 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
0 votes
1 answer
68 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
  • 97
1 vote
1 answer
152 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
43 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
34 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

15 30 50 per page
1
2 3 4 5
97