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.

learn more… | top users | synonyms

2
votes
4answers
9k views

notepad++ regexp to find all lines which contain a specific string

I am looking for a notepad++ regexp that contains a specific string. I then want to delete this whole line.
24
votes
9answers
3k views

How can I delete everything after the first column 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: 70.97.110.40 159 ms [n/a] 21 ...
-2
votes
1answer
36 views

Randomize Huge List - Windows 7

i've been searching for a solution for this but i couldn't find it anywhere. I have a large list, more than 2 million entries. I need to randomize it. I can randomize lists in excel but excel ...
7
votes
1answer
2k views

How to prevent Notepad++ search to loop?

I like when a search functionality tells me there's no more results when reaching the end of the file, rather than looping to the beginning of the file. How can I do that in Notepad++? I can't find ...
0
votes
1answer
26 views

Notepad++: is there a way to force it to keep the autoindented-whitespace type?

I wonder if we can force notepad++ to respect the previous whitespace character when it autoindents a new line: list[CR][LF] ····item1[CR][LF] ····item2[CR][LF] --->| (notepadd++ screenshot ...
3
votes
3answers
2k views

File switcher sidebar in Notepad++ 5.5

I would like to know how to get a vertical file switcher on the left side i.e. in the left sidebar in Notepad++ 5.5? I would like to have something like this as shown from the gedit editor?
1
vote
3answers
2k views

Extract/delete all other text than whats inside “ ”, and after string

I'm have a very big data output in a .txt file that looks like this: value1="1",value2="2",value3="test3",value4="4" value1="1",value2="2",value3="anothertest3",value4="4" ...
1
vote
2answers
547 views

Notepad++ - Love the document map, but can you remove the scrollbar?

I love the new document map they've added to Notepad++, but it makes the vertical scrollbar redundant for me. I poked through the settings but saw no way to remove it. Is there a way to hide it that ...
1
vote
1answer
24 views

Remove CR LF for all lines that are not followed by a specific number

I have 14000+ lines of a database, that I want to edit with Notepad++. All these lines should start with 1000 and I therefore want to delete CR LF at the end of those lines that are not followed by ...
2
votes
1answer
9 views

jump to specific function declaration from command line in Notepad++

With Notepad++ it is possible to jump into a source file at a certain line number using the option "-n" together with the target filename. Now, I'd like to start Notepad++ from the command line and ...
-1
votes
0answers
18 views

Unknown Exception when entering particular keystrokes in Notepad++

I was programming the whole day. Suddenly when I type -> an unknown exception appears and I can't figure out why. I searched in the Internet, no results What happened? I saw some questions in here ...
0
votes
1answer
39 views

Notepad++ : Do batch text replace

I'm trying to create a dictionary file from several webpages I found online. The dictionary indexes headwords so that they can be easily found in search mode. The information in the webpage is divided ...
1
vote
1answer
27 views

How to remove text that does not contain spaces from a delimited string in Notepad++

I have a string such as brown,Ceilings,flu,hydraulic bar stool,horse saddles,marble tiles. I want to remove the text that does not contain spaces, but keep the text that has at least one space. The ...
1
vote
1answer
15 views

How to minimize all code in notepad ++ using hotkey

Hi all I once do it but now I don't remember. I need minimize all code using one hotkey combination
10
votes
4answers
13k views

Does Notepad++ backup pre-edited files anywhere?

If I've accidentally modified a configuration file using Notepad++, saved it, and then closed the file - is there any possibility that Notepad++ may have saved the pre-modified content in a temporary ...
0
votes
1answer
30 views

Easy way to make many files with names from the list

I have a text file with 30 names in it. I need to make 30 empty text files each called name from the list. Is there an easy way of doing this? Naming 30 text files one by one seems kind of ...
0
votes
1answer
16 views

Using Notepad++ search/replace PHP code with regexp

I don't have experience in regexp so I hope someone will able to help me to change faster than by hands Need to replace objects to arrays like $variable -> child; OR $variable->child to ...
51
votes
9answers
33k views

ShellExecute failed (2) error for Notepad++ on Windows 7 64bit

ShellExecute failed (2): Is this command correct? "C:\Program Files (x86)\Notepad++\notepad++.exe [location of file to edit] I seem to have some issue with RIGHT CLICK > Edit with Notepad ++. ...
1
vote
2answers
376 views

Sane control-tab behaviour in Notepad++

How can I make control-tab (and control-shift-tab) behave sensibly Notepad++? I would like these shortcuts to behave as they do in my web browser, ie. control-tab moves focus to the next tab to the ...
0
votes
1answer
27 views

How can I delete before and after EMAIL in notepad++?

I have this: :814, 'pera', 'name1@gmail.com', '2ed', '', 'da', 0.00, '195..110.18'), >815, 'danka', 'name2@gmail.com', 'd3d6', '0655566', 'da', 0.00, '212..65.82'), *816, 'ana', ...
2
votes
1answer
472 views

Can I turn off safety prompts on file close?

In Notepad++, I generally run with a bunch of text files that I am using temporarily. It's annoying that I have to click the confirm prompt when closing a file without saving. Is it possible to turn ...
0
votes
1answer
21 views

How can I make notepad++ remember all instances of itself from last session?

When working with multiple instances of notepad++, each with its own set of files opened, upon OS crash N++ seems to be only remembering one single instance and not the rest. Is there any way to ...
2
votes
2answers
62 views

Reformatting vim files

SOLVED, see my answer. However, I figure this question is still a good learning exp for other novices like myself So I am working on this project, but I am working on it both at home and at work. ...
0
votes
1answer
68 views

How to activate disabled cloud settings save option in notepad++?

I geted a new update from Notepad++ and I find a new option which very likeley for me, this the cloud save option. I can't select any cloud storage, maybe that's becouse I living Hungary? I don't ...
8
votes
1answer
1k views

ANSI to UTF-8 in Notepad++

I have a text encoded in ANSI: When I tried to convert it into UTF-8 (using the Notepad++ menu Encoding > UTF-8), I get some weird characters: I thought that UTF-8 was a superset of ANSI and ...
2
votes
1answer
79 views

Notepad++ Webkit plugin - Multiple Html

Is it possible to have multiple html on one command? ex: FROM: content1 content2 content3 content4 highlight the list then click a "custom key" then the result should be <ul> ...
1
vote
2answers
376 views

Notepad++ - file bookmarks working like web page bookmarks in web browser?

There are line bookmarks in Notepad++ but I have a large number of files (100+) I need to visit from time to time, just like web pages. I can't have all of them open as this would create too many ...
0
votes
1answer
22 views

Define only certain files to be opened with certain software

I have some .php files, Some of them i want to be opened automatically by notepad++, So i go to properties then change the open with value, The problem is that all my .php files is now automatically ...
3
votes
5answers
6k views

Notepad++ keyboard shortcut to toggle “Find Result” window [duplicate]

Is there a keyboard shortcut to toggle "Find Result" windows? Or can this be configured in the Shortcut Mapper? I seem cannot find the setting.
10
votes
6answers
20k views

Notepad++ says “Check if file is open in another program” - but no other program is open

I am trying to edit a .CFG file in Notepad++. When I try to save it, it shows an error: Check if file is open in another program. Previously, I have had no problem editing the configuration files ...
0
votes
1answer
19 views

How to remove the auto correct line in Notepad++

How to remove the damn line that doesn't allow me to move move freely...everytime I try to edit a portion of a code it does edit the entire code, forcing me to write it again...this is insane, it ...
1
vote
1answer
12 views

A function to remove table from a query using notepad ++

I have the following queries: insert into tab1 ( id , name , last ) values ( 1 , 's' ,'t') / insert into tab1 ( id , name , last ) values (2 , 'U' ,'t') / insert into tab1 ( id , name , ...
10
votes
4answers
38k views

Replace Carriage Return and Line Feed in Notepad++

I have a file with a mix of CRLF and LF, and wish to remove the LF. I am new to Notepad++ and just downloaded V6.23. I'm using the search/replace dialogue box in extended mode. It will find and ...
4
votes
1answer
2k views

Sorting lines in Notepad++ without TextFx plugin

Current version of Notepad++ is 6.6.3. Version 6.5.2 is the first, that introduced native (without plugin) sorting function to Notepad++. At least that's what they claim. Because, even though we're ...
1
vote
2answers
5k views

Quickly increment selected numbers in Notepad++

I'm working on a plain text configuration file that has a configuration key format of <type name>_<#>_<Subcomponent name>=<value> To be a little more clear, the ...
14
votes
3answers
16k views

Converting CSV to fixed-width in Notepad++?

Is there a way in Notepad++ to convert a comma-separated file to fixed width columns? This feature exists in UltraEdit and explained in Working with CSV files, but I am happy with my Notepad++, and I ...
1
vote
2answers
142 views

Fastest way to comment multiple lines in Notepad++

In Eclipse it is possible to comment multiple lines by selecting them and executing CTRL + /: // helloworld Is this possible in Notepad++ as well instead of typing // in front of an individual ...
42
votes
5answers
135k views

Notepad++ find and replace string with a new-line

Consider the scenario where you have a specific string that you want to find-and-replace. You want to replace it with a new string that contains a newline character (or character sequence). abc123 ...
0
votes
1answer
36 views

Notepad++ regex - numbers

I tried to search for it and experiment it out, but I couldn't figure it out. In notepad++ I have a line like: 102. or 12 and I would like to delete the whole line (so i would need \n\r I ...
0
votes
1answer
33 views

Notepad++ regex

I have a wall of text (no code, numbers or anything like that). The sentences are sometimes split in the "middle" by a "paragraph" or "manual line break". For example: The most obvious part was a ...
0
votes
1answer
29 views

How to set word separator chars

In my Notepad++ (v6.6.3), '.' is recognized as word boundary but '_' is not, such that 'a_b' is recognized as 1 word but 'a.b' as 2 (when double clique). How can I define myself for the word boundary? ...
2
votes
1answer
65 views

notepad and notepad++ don't show same thing?

I have exported text from Excel in Unicode, like this: then I edit with Notepad++ and change it to my desired form and save it as UTF-8 like this: but when open it it in Notepad it is in ...
0
votes
0answers
50 views

User Defined Language Notepad++

I'm stuck in defining my language in Notepad++ for syntax-highlighting. I would like to define different colors for different output files that i get from a software. The usual string is: @--MESSAGE ...
0
votes
1answer
31 views

How to space or control the line numbers in Notepad++

I am doing some data entry and each entry has about 5 or 6 lines. I would like each data entry to be labeled per the line numbers in notepad. Here is an example image. In this image I would like ...
10
votes
2answers
3k views

Can Notepad++ mark scrollbar with visual indicators of search results?

Can Notepad++ highlight search results in its scrollbar area, whereby the scrollbar represents the height of the entire document being viewed and is visually marked (colour-coded, ticked or otherwise) ...
7
votes
1answer
2k views

How to get a bookmarks list?

The bookmarks options in Notepad++(I'm using version 6.0) are okay, but their usefulness is limited by the fact that there is no way (that I can find) of getting a list of the existing bookmarks, so ...
0
votes
0answers
29 views

Opening Current Directory Command in Notepad++

I'm new to programming. I have a notepad++ but it doesn't have the "Open current dir cmd" in the run tab....Are there any alternatives for me to open my file notepad++ file in a command prompt? Please ...
0
votes
2answers
33 views

How do I remove portion of each line from “@” to “|” in notepad++

How do I remove portion of each line from "@" to "|" in notepad++ apple@oranges.com|cake to apple|cake
12
votes
1answer
40k views

How to open a big file in Notepad++?

I tried opening a file of 800MB size in Notepad++. But i don't why Notepad++ showed only 269117242 chars 271450112 bytes . Neither it showed any alert message that it is unable to open such a big ...
15
votes
6answers
20k views

Notepad++ auto complete HTML end tags after </ (like Dreamweaver does)

In Dreamweaver typing </ will automatically close the last open tag, so you don't have to type it all out, and it helps if you aren't sure if you closed one or not. Is there a plugin that dose this ...