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
22 votes
5 answers
35k views

How can I sort the lines in a text file, by the length of each line, in Notepad++?

How Can I sort a text file by line length in notepad++? Is there any plugin available for the mentioned task? In case that there is no plugin, What is the first and maybe second tutorial to read, In ...
1 vote
1 answer
34 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 ...
34 votes
9 answers
47k views

How to make Notepad++ open each file in new window?

There is -multiInst launch parameter that lets you open more than one instance of Notepad++, but how to make it launch a new window every time when I click on "Edit with Notepad++" or "Open With..." ...
2 votes
3 answers
17k views

How to display special non-ASCII Unicode characters in Notepad++? (regardless if file saved and reopened)

When bookmarking a URL like: https://addons.mozilla.org/firefox/addon/youcare-search/ You get this bookmark title: YouCare - The charitable search engine – Get this Extension for 🦊 Firefox Then, if ...
-1 votes
0 answers
15 views

I want to select data from col 14 to col 33 on each line and then replace that all data with common alphabet # in the notepad++ [closed]

Please share regular expression for selecting data between col 14 to col 33 Nd replacing with special character # by 20 times
0 votes
0 answers
40 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 ...
3 votes
1 answer
6k 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 ...
3 votes
1 answer
4k views

Notepad++ Syntax Highlight: How can I set a delimiter with spaces?

I'm creating my User Define Language in notepad++, and I have a delimiter set like this: open: try escape: close: : But when I type entry, the try gets highlighted, as the delimiter I've set. How ...
82 votes
7 answers
80k views

How to migrate Notepad++ settings?

I am trying to portabilize every program I use if possible, and Notepad++ is on the list. The only problem is that I've had a native installation until now so that I'm not totally sure which settings ...
0 votes
2 answers
54 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. ...
1 vote
2 answers
3k views

How can I organize files opened in notepad++ by project

I usually have 20 or so pages open in Notepad++ and would like to somehow group the related files together so that I can more easily navigate between them. I've read about the Project feature in ...
2 votes
2 answers
22k views

Opening huge files in notepad++

Sometime I have problems opening huge log files(700mb) or so in np++. I'm running Win2k8 R2 x64 OS. For eg, the file's Last modified time is: 16:48 but when I open the file in notepad++, the file is ...
0 votes
2 answers
346 views

Extracting Domains from URL in EmEditor or NotePad++

Suppose I have a list of domains mixed with subdomains As shown below; sub1.domain1.com sub2.domain2.com sub3.domain3.com and I want to extract just the domains from the list to give the preferred ...
0 votes
3 answers
735 views

How do I extract domains from email list in EmEditor or Notepad++

I have a list of emails and I would like help extracting just the domain names from the list of domains. Sample Email list [email protected] [email protected] [email protected] The preferred ...
0 votes
1 answer
6k views

Using Notepad++ to view text files that also contain lower ASCII control characters

When using Notepad++ to view text files that also contain some lower ASCII control characters (such as NUL, BEL, and ACK), it shows every lower ASCII character in brackets like this: [NUL][BEL][ACK] ...
0 votes
1 answer
39 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 ...
11 votes
10 answers
54k views

Notepad++ select all, multi-line select at end of each line

In sublimetext I often use the key combination CTRL+A, CTRL+SHIFT+L, END to frequently highlight all rows and continue editing each line with common text. (See pic) What would the key combination be ...
0 votes
1 answer
5k views

Notepad++ how to ignore a word in lines on notepad++ using "find in files"

Helly everyone, I am struggling to find out how to exclude a word in a line of text in notepad++ I am using the "find in files" option to search through many large log files. My search ...
-1 votes
1 answer
7k views

Notepad++ adding commas to the end of words

I want to add commas to the end of words but the problem is some of the words have more than one word in it for example: Accent Colors Anti-Social Protagonist I have a list of the words i would ...
10 votes
4 answers
13k views

How to turn on/off fonts anti-aliasing in Notepad++?

Is there a way to turn on/off anti-aliasing in Notepad++, either through settings or a certain plug-in?
133 votes
7 answers
100k views

Flip or reverse line order in Notepad++

I want to flip line orders of a document with 500+ lines. The lines aren't just numbers, some include text and other characters. It's a mix. Example: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Which ...
2 votes
1 answer
28 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, ...
1 vote
0 answers
35 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, ...
8 votes
4 answers
25k views

notepad++ regex for replacing Capital/uppercase letter in the middle of word with small/lowercase

I'm constantly working with recognition of text and I end up having capital/uppercase letters in the middle or at the end of the words (e.g. wOrd instead of word; leSS instead of less). Is there a ...
-1 votes
1 answer
26 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 ...
5 votes
1 answer
5k views

How to enhance Notepad++ to support Laravel blade syntax highlighting in a PHP file?

After looking online I cannot find any info on enhancing N++ to support syntax highlighting for Laravel's Blade syntax (*.blade.php). Example: demo.blade.php <html> <head> &...
0 votes
1 answer
34 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 ...
2 votes
2 answers
5k views

Delete all script code when saving an HTML file

I save and archive a lot of Paypal receipts, and the files come with tons of garbage script code not necessary for archival purposes. I would like to come up with a way to strip all that code so I ...
15 votes
12 answers
30k views

Is there a Linux equivalent of Programmer's Notepad or Notepad++

I've recently switched over to Ubuntu from Windows and love it. One thing I miss is my Programmer's Notepad. I haven't found anything similar yet for Linux. Eclipse is way too big and involved for ...
0 votes
3 answers
553 views

Regex: Find the letter (diacritics/Accent Marks) "î" in the middle of the words, but not the letter î at the beginning or at the end of the words

I must find the letter (diacritics/Accent Marks) î in the middle of the words, but not the letter î at the beginning or at the end of the words. For example: 1.stăpînii 2.înstăpanit 3.coborî 4....
2 votes
1 answer
77 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 ...
2 votes
1 answer
5k views

Firefox/Chrome etc not under the 'Run' tab in Notepad++

I was fiddling with Notepad++'s preferences in order to change the looks and a few other things. I'm not sure what I did, but now the 'Run in Chrome' etc options aren't in the 'Run' tab. For example,...
-1 votes
2 answers
78 views

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

Say i had: Example Example 1 1 3 desired: Example 1
2 votes
1 answer
91 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 ...
0 votes
1 answer
2k views

How to Configure Notepad++ for fixed width tab indent

NotePad++ is displaying various length tab indentation. Please suggest how to configure to display the tab charater same as notepad. Tab difference between NotePad and NotePad++
0 votes
1 answer
53 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 ...
1 vote
1 answer
97 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 ...
0 votes
1 answer
42 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 ...
5 votes
3 answers
7k views

Reverse text in Notepad++

This question was asked several years ago without an accepted answer. The question has also long been inactive. Seems a simple piece of functionality, so perhaps a recent plugin provides the feature. ...
0 votes
2 answers
681 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-...
0 votes
1 answer
25 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 ...
0 votes
0 answers
101 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 ...
20 votes
3 answers
57k views

Character count in Notepad++

Should I install any plugins or there is build-in way to see the text length? Length in the status line gives me the byte size, not char count.
5 votes
2 answers
757 views

file changes -- notification and diff

I'm looking for a way to be notified if a text file changes (Windows 7), and be offered a file diff upon such a change. For example, the text editor Notepad++ does part of this, notifying me of an ...
1 vote
1 answer
148 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 ...
-1 votes
1 answer
173 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 ...
56 votes
6 answers
100k views

Is there a way to make notepad++ application itself dark?

I like the look of Sublime Text 2 but I prefer using Notepad++ as my default text editor. Is there a way to make the notepad++ application itself dark? More specifically, I would like to change the ...
0 votes
4 answers
2k views

Which Notepad++ plugin sets the text's background color to orange?

I installed about two dozens of plugins in a new Notepad++ installation and the result is: I checked all plugins. None of them gives a hint to the background color. I also checked Settings → ...
0 votes
1 answer
58 views

Remove LF from every other line

I am trying to join two lines in Notepad++. Currently, each line ends with a line feed. What I am looking to do is to join lines 1 and 2 to be all in line 1. Then I want to join the next two lines to ...
7 votes
7 answers
6k views

Open file with existing instance of Notepad++ portable

I have Notepad++ portable "installed" and if I try to open a file from Windows Explorer that should open with Notepadd++ portable I get the error Another instance of Notepad++ is already running. ...

1
2 3 4 5
58