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
153 views

How to replace multiple text into div tags using Notepad++?

I'm a new user of Notepad ++ and I need your help. I have several pages templates using shortcodes like this: [div] Block Text1 [/div] [div] Block Text2 [/div] I'd like to find a fast way to paste ...
0
votes
0answers
26 views

how I change this regex to work in these texts [duplicate]

3 days ago a friend give me a code to keep some sentences and delete other sentences that they were not need in notepad ++. Today My teacher told me that this code don't work for all of sentences and ...
0
votes
1answer
18 views

Restore the compare mini-window in Notepad++

In notepad++ when you use compare, there's that miniwindow that shows and overview of changes across the whole document. I've closed that at some point - how do I restore it?
0
votes
0answers
54 views

Record pretty print in macro

How can I record the Pretty Print (XML only - with line breaks) Ctrl+Alt+Shift+B functionality from the XML Tools plugin as part of a macro? Currently I have CDATA-ed xml that comes over the wire ...
0
votes
1answer
91 views

How to keep special strings in notepad++ and delete other strings?

I want to find some special strings in my text and then delete other strings. For example in this sentence: ( (IP-MAT (CONJ vnnd) (NP-NOM (D das) (N wort)) (BED war) (PP (P bey) ...
0
votes
1answer
50 views

How set colors for css selectors if css code is embeded?

I have Notepad++ 6.4.5. Is it possible to set different colors for css selectors if css code is EMBEDDED into php file, as if css code is in a separate file ?
0
votes
0answers
41 views

Is there a Notepad++ addon to add an option to change / set character encoding on the save dialogue?

It really confuses me how Notepad, the crappy Windows application, has this feature and yet Notepad++, the amazingly useful third party alternative, doesn't. Also, because I know people are going to ...
-2
votes
1answer
129 views

Extract Mobile Numbers from text file Starting with 0300 or 0321. Like 0300-XXXXXXX, 0321-XXXXXXX [closed]

How can I extract only mobile numbers from my text file? Mobile numbers format is 03xx-xxxxxxx. Text is something like this: 1 Mr.Pervaiz Ahmad Latifi Rajput Traders, W/571, Ratta Road, Near ...
0
votes
0answers
329 views

Notepad++ keyboard shortcut assignment always not working

I like to set a lot of keyboard shortcut (you can call me a shortcut freak) thus I have been assigning quite a lot of shortcuts in the shortcut mapper. After assigning I found out that some shortcuts ...
1
vote
0answers
38 views

Script to port specifc data from doc1 (notepad++) to specific place(s) in doc2

I really appreciate your help with a windows script or regex function that ports specific data from doc1 (xml in notepad++) to specific place(s) in doc2 (notepad++). I'm running win8. Thank you in ...
0
votes
1answer
105 views

Added new autocomplete words to Notepad++ html.xml but they don't autocomplete?

I edited the html.xml file in Notepad++ i've added one new line to test if it would autocomplete but it's not. I added <KeyWord name="form-control" />. This isn't an html tag but a CSS class. So ...
2
votes
1answer
76 views

Saving part of found term when replacing in Notepad++

I want to use Notepad++ to find/replace large chunks of code, but a hefty part of it deals with arrays. How can I put a "variable" in Notepad++'s Find/Replace window so that part of it can be saved ...
2
votes
1answer
788 views

Notepad++ expand/collapse block with keyboard

My question is pretty straight-forward, is there a way in Notepad++ to expand and collapse blocks with keyboard shortcut? I already know about the alt+0 and alt+shift+0 to expand / collapse all blocks ...
1
vote
2answers
132 views

Text editor that shows preview window of CSS classes, ID's and elements [closed]

I use a combination of Notepad++, Sublime and also Dreamweaver. I still use DW because of its really handy CSS Styles window, and for me its the quickest way of navigating through large CSS files. ...
2
votes
0answers
116 views

Change the new file name in Notepad++

Is there a way to change the default new file name from "new #" to something else, or at least remove the space and/or replace it with an underline.
0
votes
0answers
45 views

Notepad++ find in files found nothing

Notepad++ find in files used to work for me a while a go. And I just tried to use it again last week, it found nothing even I know the being searched string is in the directory. I have tried different ...
1
vote
0answers
53 views

merge two rows if first column is same in notepad++

I have the following data 11111 | aff | baucj | blah | blah 13331 | azvaff | bcacj | blah | blah 11111 | aasfff | aascj | blah | blah 13331 | aafzvff | baucj | blah | blah 12221 | arthrf | bacsfucj | ...
0
votes
0answers
116 views

Notepad++ 6.4.5 disable plugins update tab

How to disable Updates tab from Plugins i.e. Launch the Notepad++ shortcut Go to "Plugins"->"Plugin Manager" -> "Show Plugin Manager" Under that there's an Updates tab. Is there a way to disable ...
0
votes
0answers
42 views

Delay in saving files over Windows VPN

I'm connecting to a Windows network VPN from my home PC. Home PC is Windows 7, and work server is Windows Server 2008 R2. There's a noticeable and annoying delay (5 seconds approx) when saving small ...
0
votes
1answer
182 views

Notepad++ issue VBScript code appearing on .html files

Hi guys I am having problems with notepad++. Everytime I close an HTML file there is always a vbscript code that appears below the HTML file. Is this a virus with notepad++? The VB script code does ...
2
votes
3answers
2k views

Notepad++ doesn't show Russian letters

I'm trying to setup the translation file (.php) but can't get Notepad++ to display the Russian text. The file was created on a PC with Russian Windows 7 (Windows Notepad) and everything looks fine ...
3
votes
4answers
875 views

Notepad++ How to cut all text after a specfic character

I have some text I want to edit using Notepad++. The text follows a pattern such as test 1 - test1, test 2 - test2, test 3 - test3 and so on, one per line. I would like to 'cut' all the ...
1
vote
3answers
4k views

Using wildcard search/replace in Notepad++

Here's my problem: In a .txt file, I need to find and replace thousands of instances of syntax like this: (see (a053007djfgspwdf)) or (see (a053007djfgspwdf) and (a54134xsedgeg)) or (see ...
1
vote
2answers
69 views

Display Notepad++ file search results in realtime?

Is there a way to display Notepad++ file search results as they are found, rather than all at once when the search is completed? When searching through large directories, it would be nice to be able ...
2
votes
1answer
52 views

Is it possible to move tabs with keyboard in Notepad++

Is it possible to move tabs with keyboard in Notepad++? I am not talking about moving between tabs but reorganizing tabs with keyboard only.
2
votes
2answers
97 views

Stop extra space on carriage return in notepad++

When I hit return in notepad++ the cursor goes to the next line, as I would expect, but it also adds an additional space on the new line. Is there anywhere in preferences that I can stop this ...
1
vote
1answer
69 views

How to get user defined language in Notepad++ to follow master formatting?

I have successfully created a user defined language file in Notepad++ and this file has formatting, highlighting, etc. What I am hoping to do however is tie these into the main theme is. But it looks ...
0
votes
1answer
63 views

Get <td> tags to include a newline with zen-coding in Notepad++

With notepad ++, I have a slight problem with tag spacing. Normally, what I see with youtube tutorials is: <body> <div class="mainDiv"> <div> <div> ...
4
votes
1answer
3k views

The best syntax highlight for JSON data file in Notepad++

Currently my latest version of Notepad++ displays .json file as below snaphots which looks so dumped. Do you have any sysntax highlight set recommended for json data file? In the photo, @1: key, @2: ...
0
votes
1answer
161 views

How to make Internet Explorer not open extensions

So, I had been using Notepad++ to open many be files - say, .txt, or .log, for example. And that is how I like it. One day, though, internet explorer suddenly started opening them, which I most ...
1
vote
1answer
192 views

Do not show entries starting with . in Notepad++ FTP plugin (NppFTP)

I am using Notepad++ FTP plugin (NppFtp) to remotely edit the files. However, it displays hidden files and directories too (those starting with .). I have tried to change this behavior by going to ...
1
vote
2answers
167 views

Powershell Script Open Files Across Computer and Local

I don't like Microsoft's built in Notepad at all. I prefer to use notepad++, but since it's not built in it's not easy to use from a command line. I am writing a powershell script that can help out, ...
0
votes
1answer
144 views

when i open new file it insert code in notepad++

First i want to tell you that i now i only use notepad++ for assembly language. and i have made assembly my default language by reading this here so when i open new file it highlight as assembly now ...
0
votes
1answer
427 views

What is the shortcut to select everything between curly braces in Notepad++?

Is there any shortcut in Notepad++ to select all (highlight) codes between the curly braces (start & end)? E.g. Code between if-else, nethod definition, while, for loop etc.
1
vote
2answers
907 views

Can I change icon in this case?

I have associated txt file and xml file with Notepad++ (both opened with it), so both of them have the same icon with Notepad++. Is there any way to change the txt icon to a different icon than the ...
0
votes
0answers
156 views

Auto Highlight Selected word Feature in textpad

I am looking for a feature in Textpad, which will highlight all the occurrences of selected word. This is really an interesting feature in most of the cases. I am unable to found this in textpad. But ...
2
votes
2answers
386 views

Notepad++ scrolls beyond the EOF

I updated my Notepad++ to 6.4.3 this morning. Ever since that, I've noticed a very strange behavior in it. It scrolls beyond the EOF (i.e) I'm able to scroll the document in notepad++ even beyond the ...
0
votes
2answers
158 views

Notepad++ - customised syntax highlighting

Is it possible to customise Notepad++ to perform begin and end matching when displaying the programming language Verilog? I would like it to highlight the corresponding begin / end when my text ...
0
votes
0answers
47 views

Continuously scramble a word in Notepad++

I would like to scramble two names for 1000 repetitions on lines one to a 1000 For example 'Milesdavis Milesdavis' would be the first name with every line afterwords or below to be scrambled; ...
2
votes
2answers
1k views

how to use codefolding feature of notepad++ for normal text documents

When i open an reg file in notepad++ file in notepad++ , I see the amazing functionality to minimize and maximize the subkeys of a base key by clicking on that little arrow on the left .can I get this ...
0
votes
1answer
4k views

Delete Text before and after a specific character in Notepad++

i want to extract a string which is between two quotation marks, deleting everything before and after the quotation marks, including themselves. For example this: 6 6 "The Socratic Method" ...
1
vote
1answer
165 views

.class specific search and replace

I'm trying to remove entire tag with specific class: Code: <div> Blah blah <div class='myClass'> <div>some other div</div> </div> </div> <div> Blah ...
0
votes
2answers
131 views

Regex replace with Notepad++

In my XML file there are lots of sub strings starting with STDSUP- and then three digits. For example: STDSUP-123. I would like to replace the STDSUP with CCDA. There are some sub strings where ...
2
votes
2answers
119 views

Find lines with only 7 letters or numbers

I'm using Notepad++,and I have a document with 88,000 lines. I need the lines with only 7 letters or numbers. How can I do this?
1
vote
1answer
69 views

Collapse indented bulleted lists in Notepad++

I often make bulleted lists like this: - Heading 1 - A point - Another point - Heading 2 - Subheading - some more stuff I'd like to be able to collapse everything under a heading. Is this ...
0
votes
1answer
313 views

Editing all instances of a string in Notepad++

I have several instances of a variable or a phrase, and I want to rename it. How do I edit all of them at the same time in Notepad++?
6
votes
3answers
8k views

Remove empty lines and spaces in Notepad++?

Suppose I have these lines: A B C D E I want remove empty lines, and the spaces before the letter too, like this: A B C D E How can I achieve this in Notepad++?
1
vote
1answer
55 views

Export a specific line in Notepad++

I have a large XHTML file that contains a lot of code, see the below example: <a:CreationDate>0</a:CreationDate> <a:Creator/> <a:ModificationDate>0</a:ModificationDate> ...
1
vote
1answer
70 views

Convert command-line commands from one tool to another in notepad++

I have a script with lots of lines like this: ss Get $/%SS_SOURCE_PROJECT%/DLL/Vim25Service2005.dll -I-Y -R -VL%2 ss Get $/%SS_SOURCE_PROJECT%/97AUTO/*.* -I-Y -R -VL%2 We're migrating from one tool ...
0
votes
1answer
178 views

Notepad++ new file names

Is there a way to have Notepad++ generate new file names with the current date? Like this: YYYY_MM_DD_new1.txt or similar. Currently it just names them: new1, new2, etc. Date in the file name will ...