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

1
vote
1answer
92 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
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
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
62 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
218 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
69 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
20 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
79 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
75 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
81 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
207 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
718 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
37 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
358 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
137 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
197 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
576 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
57 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
36 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
29 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
91 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
77 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
22 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
159 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
300 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
104 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
7k 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
148 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
34 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
167 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
115 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 ...
3
votes
1answer
51 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
166 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
44 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
86 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
71 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
159 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 ...
5
votes
1answer
2k 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
123 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
31 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
47 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 , ...
4
votes
2answers
12k views

Fastest way to comment out multiple lines in Notepad++

In Eclipse it is possible to comment out multiple lines by selecting them and executing CTRL + /: // helloworld Is this possible in Notepad++ as well instead of typing // in front of an individual ...
0
votes
1answer
113 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
88 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
750 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 ...
1
vote
1answer
111 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
2answers
42 views

choosing first tab char of line in .txt file and repalce it by new line char in notepad++

I have a .txt file like this: ali is a writer ahmad is an instructor Note: Space between words are created by Tab and need to change it to this form: ali is a writer ahmad is an ...