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
1answer
35 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
20 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
124 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
100 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 ...
0
votes
0answers
152 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
67 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
20 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
30 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
27 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
44 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
146 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
48 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
19 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
66 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
71 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
76 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 ...
1
vote
1answer
163 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
460 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
0answers
26 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
253 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
128 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
174 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
418 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
45 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
28 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
23 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
81 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
64 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
21 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
127 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
153 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
77 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
121 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
26 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 ...
0
votes
2answers
140 views

Unknown Exception when entering particular keystrokes in Notepad++

When I enter the keystrokes -> in a normla file, everting works fine. When I put in <?php and use the same keystrokes again, than a unknown exception appears. If i delete <?php and try it again, ...
0
votes
1answer
102 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
46 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
115 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
0
votes
1answer
42 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
77 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 ...
0
votes
1answer
61 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', ...
0
votes
1answer
93 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
1answer
1k 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 ...
2
votes
2answers
103 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
30 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
42 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 , ...