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

0
votes
0answers
92 views

Save NppFTP information in NPP Portable?

I am using NPP Portable for a while to have always my NppFTP information with me. But last time, all gets broken. So my question ist: how to backup all FTP connections in NPP Portable? I've ...
2
votes
1answer
1k views

Notepad++ how to copy the text (only) which matches the regex expression (not the whole line)

I am looking for a simple way to copy into the clipboard all the "marks" in notepad++. I found that I could copy the whole line that match the regex using the bookmark option. But I'm looking for a ...
2
votes
2answers
2k views

How can I replace around a wildcard in a regex search?

I'm trying to comment out all of the variable type declarations in a script I have, but I've run into this problem a few other times. I'd like to match a string, followed by a variable name, followed ...
1
vote
2answers
112 views

Notepad++ : How to remove second occurrence of comma

I have text lines in Notepad++ like below: 1122, String1, String2, 20202 2222, String3, String4, 21212 3333, String5, String6, 3333333 4444, String8, String7, 44we23 I need to just remove second ...
0
votes
0answers
24 views

Notepad++ not saving user ext for HTML

Notepad++ 6.6.8 right here. I am trying to save the .erb extension as a user extension to Style Configurator > HTML > User ext > "erb" But everytime I relaunch Notepad++ that setting is ...
0
votes
2answers
76 views

Setting font size to 13 in Notepad++

The font-size select list in Notepad++ doesn't have an option to set the font size to 13. The options are 10-11-12-14, so while it can be set to 11, how can I set it to 13? Please note that using Ctrl ...
0
votes
1answer
70 views

Notepad++ RegEx replace XML file

I have looked around a lot on here but cannot find a solution to my problem and an a noob when using RegEx's. I am trying to change a XML file with tags that look like this: <key>Date ...
0
votes
4answers
98 views

How can I automatically open files in an editor in Windows

I work with a lot of different data in text files and the extensions are used for categorizing what data is contained so windows is always complaining that it doesn't know what to do with these files ...
0
votes
1answer
1k views

Installed Qt 5.3, Notepadqq still finding 5.2.1 instead?

I am running Ubuntu 14.04 LTS, 64-bit. I am trying to install Notepadqq, the port of Notepad++ from Windows to Linux. I know about Vim and Emacs but I am used to Notepad++ and I like it. I ...
0
votes
2answers
24 views

How To Search & Replace From a Word to another in The Same Line?

Like I said,, I want to search each line, from a word at the beginning of the line, To another word at the end ! For Example, let's say that I've a text file, that contains these lines :- 1.RA.xm: ...
0
votes
0answers
103 views

Notepad++ macro for “find all in current document”

I want to have macro which will search all %%% in my current document. But the saved macro seems to do nothing but move the focus from document. Any ideas? The recorded macro, found in ...
0
votes
2answers
34 views

Don't include 'Line #' after searching for specific lines in Notepad++

I'm really newbie with this software, and here is my problem. I did a search for a specific word in Notepad++ as "Find All in Current Document", but in the results it includes "Line #". I need to ...
0
votes
1answer
42 views

How can I automate this task in Notepad++

I've a text file with around 200+ table names. Sample like this T_BCPCOMITEE_EA4 T_BCPEMERSIT_EA4 T_BCPROLE_EA4 T_BDR_AG_EA4 T_BDR_CRITERIA_EA4 I need to take the table name and add a select ...
0
votes
0answers
12 views

Upping all seconds of X value

I have a subtitles file. What regex should I use in Notepad++ to up every line of 2 seconds? 00:01:15,444 --> 00:01:17,613 should become 00:01:17,444 --> 00:01:19,613
0
votes
0answers
24 views

Notepad++ ; How to remove lines with similar data

so like the title says, I want to remove lines with similar datas as some other lines. I'm kind of working on a game project, and removing repetitive lines would help a lot. For example, there is a ...
0
votes
1answer
439 views

Multiline find and replace wrapper with wildcard inside

I'm trying to put a wrapper around a bunch of fields that already exist. I want to convert this: <div class="editor-label"> @Html.LabelFor(Function(model) model.FirstName) </div> ...
0
votes
0answers
155 views

Notepad++: Change Keyboard shortcuts for Scintilla commands not working

Notepad++ 6.6.9 Windows 7 I've read this post but it didn't help for my problem. I tried to change the keyboard mapping to delete a line with Ctrl+D (like in Eclipse). I modified the Scintilla ...
1
vote
0answers
181 views

Notepad++ doesn't apply my custom word style

I want to add keywords for system methods/commands like console, document, Math , ... Notepad recognizes the keywords, but doesn't format it with the colors... stylers.xml <LexerType ...
1
vote
1answer
107 views

Notepad++ remove comma from string

I have about 5000+ lines in a csv file. Part of each line looks like this: ...Name 1:, Smith, John, Name 1 #:... ...Name 1:, Doe, Jane, Name 1 #:... I need a regex that will remove the comma ...
0
votes
2answers
22 views

Notepad ++ : How to Replace as the description

I have lines like these abye/>abye abys/>abys aced/>aced aces/>aces I want it like this abye abys aced aces Is it possible? If it is then please someone show me the way.
0
votes
0answers
34 views

Windows : Clearing contents of a locked file using notepad++ and getting new contents

Trying to clear the contents of a locked file using notepad++. Contents got cleared and the new contents not get updated instantly. I can view those contents only after restart. I once got this ...
0
votes
1answer
30 views

notepad++ didn't show reload message box

Yesterday I was working with someone and he used the application to run my script, but he have changed the settings in the notepad++. You know when you overwritten the files, the notepad++ would ...
0
votes
0answers
72 views

Keep tclsh open after running script through notepad++

I'm currently writing a tcl script using Notepad++. I've edited the F5 key such C:\TCL\bin\tclsh.exe "$(FULL_CURRENT_PATH)" This will open a tcl shell & run the current script I am writing. I ...
0
votes
1answer
247 views

How to make smart highlighting case sensitive in Notepad++

According to the release notes for Notepad++ 6.1.7, the smart highlight feature has an option for being case sensitive. How do I enable the case sensitive option?
0
votes
0answers
16 views

Notepad++ open files with collapsed code [duplicate]

We can collapse whole code with Alt+0. Is there a way to make Notepad++ automatically do it when it opens a file? I've searched in its settings and found nothing about it.
1
vote
1answer
77 views

How to make SlickEdit's search results look like Notepad++

I use "find in files" (grep) and the search results very often for navigating code. Currently I use both SlickEdit and Notepad++ at different times. Both applications do this "find in files" but ...
0
votes
1answer
21 views

Adding some commands from e.g. WordPress to Notepad++

I code a lot with NP++ for WordPress. My question is, is it possible (or an extension available) to have several commands (do_shortcode(); if_has_thumbnail; etc...) pre-defined? Like suggestions ? ...
0
votes
2answers
36 views

Unable to replace LF in notepad++

I am unable to replace LF in notepad++. Below are the steps I did ctrl+f Replace tab find what -\n replace with - ~ Though I have many line feeds which I can see when I go to view-show ...
0
votes
2answers
87 views

How to get vim like split open (horizontal) in notepad++

I would like to use notepad++ like vim split open in horizontal mode. Opening files in vertical mode can be done by move file to other view. I need to open files in vertical. Is there any plugin ...
1
vote
1answer
83 views

Notepad++ spellcheck not work with “comment tag”

I am using plugin DSpellCheck in Notepad++ When editing an XML file I noticed that the spell checker does not check inside the "CDATA", like this: <![CDATA[My testt]]> What causes this is the ...
-1
votes
3answers
84 views

Replace a character in middle of characters using regular expression in notepad ++

These are the variable names in a C code its been used in like 100 files i need to replace it by small cases as shown below in a folder having like 100 files any one please help me out how to do it ...
2
votes
1answer
220 views

Notepad++: Disable/lock zoom

I have a Surface Pro 3 with the type cover, which includes a touchpad. While the touchpad is a nice feature to have, it is difficult to use with Notepad++ for one reason: pinch zooming. Because the ...
0
votes
2answers
789 views

How do I sort lines in numeric order in Notepad++?

Using Notepad++ v6.6.8 with TextFX. How do I sort lines in numeric order rather than alphanumeric? That is I want lines to sort like: 1 2 10 11 15 20 not: 1 10 11 15 2 20
0
votes
1answer
40 views

Notepad++ replacing all numbers after a certain string

After opening a config file for a game, I notice there is strength 5 strength and the '5' can be any random number. How do I replace every number after the word "strength" to a 1?
0
votes
1answer
382 views

Notepad++ Using User-Defined Language to highlight a substring

I'm working with a programming language without a proper IDE and I'm using notepad++ as my editor. I've set up a user-defined language and it's working pretty well, but I have a problem in that if ...
1
vote
1answer
139 views

Notepad++ For Normal Text and Syntax Highlight?

I want to use Notepadd++ for taking notes on python programming language. I want to write some normal sentences and also write codes on same page simultaneously. I don't want to show line numbers for ...
0
votes
1answer
207 views

Find and replace using wildcard/regex characters in Notepad++

I have an HTML Code with the following structure: <td class="tar"> <div class="bubble in"> Some Text, I want to keep! And maybe even an image: <img src= ...
1
vote
2answers
635 views

Changing DateTime format in multiple CSV files

I've got multiple csv files with this structure: text, text, 01/27/2001 01:00:00 PM I need to update ALL csv files with this datetime format: text, text, 27-Jan-2001 13:00:00 Is there a known ...
1
vote
1answer
65 views

Notepad++: Transpose list to specific number of columns

This question is similar to: Transpose column to row I want to change a list into a specific number of columns separated by commas. So if I want 2 columns. I want to change this text: 1 2 3 4 5 6 7 ...
-1
votes
2answers
39 views

Add a character before and after a specifc character

I need to add a " after and before a comma, ie. Hello, World will become Hello"," World From what I see, I cannot figure out how to do this with Notepad ++ If this is not possible, which program ...
0
votes
1answer
32 views

Remove unnecessary tags in notepad++

How do I get rid of useless end tags in notepad++ such as Grade/ or Pick_Printer/ that contain no information without disrupting lines that hold values. I've been trying find and replace but haven't ...
0
votes
0answers
93 views

Trying to use NPPExec to save an executable to run a batch file

Following a guide, and on this step: Press Save... in the NppExec window and give this action a name like pdflatex_build. You can now run this script by pressing F6, selecting it from the menu, and ...
-4
votes
2answers
80 views

How to delete words or characters before or after other words or characters in Notepad++

I want these series of characters, or rather strings: www.example1.com www.example2.com To become like these ones: example1 example2 using Notepad++.
1
vote
1answer
24 views

Expression help for Find and Replace in Notepad++ please

how to replace and but symbol (,) after second number between every five numbers by using replace in notepad++ ? replace 00:00:26092 --> 00:00:30552 00:00:36770 --> 00:00:39933 00:00:40040 ...
1
vote
1answer
170 views

Notepad++ incorrect syntax highlighting?

So I want to build a XHTML 1.0 Strict based website. Using Notepad++ for syntax highlighting came as an idea to me. But when I tried to put the XML declaration (as stated in the spec, proper XHTML ...
0
votes
1answer
363 views

How do I un-indent code?

I occasionally realise that I need to remove one level of indentation when coding (such as moving code out of loop). The problem is I end up with a bunch of lines all indented more than I want it to ...
0
votes
1answer
115 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 ...
37
votes
11answers
6k 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 ...
1
vote
1answer
157 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
2answers
41 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 ...