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

How to join strings in the lines that ended with special string?

I have a text in this format: NP00000 Fp NP00000 Fp NP00000 Fp NP00000 Fc NCMS000 AQ0MS0 Fp NP00000 Fc NCMS000 ...
0
votes
1answer
209 views

saving notepad++-file in windows 8.1

I´m writing files for a website in notepad++. For previewing I use Wampserver and the files are stored in de .../wamp/www/-directory. Using all this on my netbook with Windows 7 starter I never had ...
1
vote
0answers
38 views

Move last character in line to specific column?

I have a coordinates list, and I'm searching for a way to move the last character (B) to a specific column (column 75). For example: 51 544598.83 5099537.14 117.54 404115B
1
vote
1answer
34 views

notepad++ to start with new window

How can you set notepad++ to always start in a new window? Whenever I open it, it always starts with the last saved document I have. I know you can click the button new window or use alt f6, but is ...
1
vote
1answer
406 views

How to merge lines every 3 rows in Notepad++?

Like this: A B C D E F G H I To this: A B C D E F G H I It's a 2500 rows file, so i wouldn't just ctrl+j it.
0
votes
1answer
113 views

Notepad ++ automate swap lines

I want to swap to lines that start with an specific word with each other (mind you, the FULL line) automatically, using replace with regex or whatever else, here's an example on what I want to do: ...
0
votes
1answer
89 views

Save indicator in Notepad++ [duplicate]

There used to be an option in Notepad++ that when you save a file, it showed a green vertical bar on the left, and when you make any change, it turns yellow. This behavior is in Visual Studio and SQL ...
0
votes
2answers
71 views

How to delete a line in Notepad using Replace?

I have very large log file , there are lot of useless stuff in that. So can anyone tell me how to delete a whole line if that particular line has matching string ? for ex: i want to delete every line ...
1
vote
1answer
429 views

Notepad++ highlight transparency

I use dark themes and when I select a word, Notepad++ highlights all the occurences of that word in the current document. But the highlight color for matches other than the current word is somehow ...
0
votes
0answers
43 views

Notepad++ close tabs after period of inactivity

I open a lot of files in Notepad++ and I really like the function of "Remember the current session for next launch", but I wonder if is it possible to make Notepad++ close open tabs based on how long ...
0
votes
1answer
183 views

Automatically use specific language in Notepad++ for files with no extension

Specifically, I want NPP to remember to use Ruby syntax highlighting whenever I open a Vagrantfile. These don't have an extension, and I tried adding "Vagrantfile" to the user extensions in the style ...
0
votes
3answers
193 views

Is it possible to dump the names of all the open files in notepad++ to a file?

So, I dragged and dropped multiple files onto notepad++. The files came from different directories and were selected using different criteria. So, I have many files open in Notepad++. Now I need to ...
1
vote
1answer
93 views

Notepad++ Undo undoes whole replace history

In Notepad++ (v6.5), having done a series of Find-and-Replace-All's, hitting CTRL-Z seems to undo the whole series. Hitting CTRL-Y redoes the whole series. Can you undo only the last Replace-All ...
0
votes
2answers
282 views

notepad ++ highlight matching div

When I select a div in notepad ++ it would highlight the matching div via the line on the left (next to the line numbers). I've just installed Notepad a fresh on a new machine and its no longer ...
0
votes
2answers
288 views

No final new line in notepad++ documents

I'm writing bash shell scripts with Unix line endings using notepad++. However, the final line never contains a new line. I must manually create it by pressing "enter" and having a blank line in my ...
2
votes
2answers
181 views

Find and Replace one character in the middle in Notepad++

I am trying to find and replace an arrangement of 6 letters\special character\numbers. For example they appear as such in my original code DEVICE_NAME","CB2_02 DEVICE, DEVICE_NAME","CB3_09 DEVICE, ...
1
vote
1answer
284 views

Possibilities of splitting Notepad++ into more than 2 windows

I would like to open 4 Notepad++ windows at once, in the same pannel. Currently, I am only able to split it into two, and would like to know if there is a plugin that enables 4 views at at same time, ...
0
votes
2answers
108 views

Notepad++: remove all border-radius in my css

I'm trying to understand how to remove all the border-radius' in my css file. The format is: border-radius: *px; But I tried with every combination of * and . and couldn't get it to work. The count ...
0
votes
1answer
49 views

Insert new line before each operator [duplicate]

Suppose I have a line like this: abc + def - vfg * I want my output to be like this: abc def vfg If only a single operator is there, I can replace: \r\n+ with + but how to do it irrespective ...
0
votes
0answers
61 views

Notepad++ tabbing out of tags, autocomplete

I'm trying to learn a little HTML. Everyone says to use Notepad++ over notepad. I have autocomplete on. My question: When I type my opening tag and Notepad++ then puts"""" closing tag, how do I ...
3
votes
1answer
277 views

Notepad++: Save code folding status or open collapsed

I have found similar questions as http://stackoverflow.com/questions/9157518/how-to-save-collapse-status-in-notepad and Is there a way to save the code folding in Notepad++?. And ...
1
vote
1answer
62 views

Is it possible to associate a notepad++ plugin with a file extension?

I have installed notepad++ with the jsonviewer extension. Now it is possible to view and browse json in a friendlier format but I would like to do that without shortcut keys or browsing the menu. So ...
0
votes
1answer
394 views

Convert .txt. file from windows-1251 to utf-8

I'm trying to read the cyrillic text that is stored in .txt format. Once I open it with OpenOffice, it is OK. Once I open it with Notepad++, it shows unreadable symbols. Setting Windows-1251 prior ...
0
votes
1answer
72 views

Replace first instance in Notepad++ using Regex

I'm completely new to RegEx and could really use some help with my dilemma. I have a large text file of IP addresses and corresponding hosts: 157.55.33.47 msnbot-157-55-33-47.search.msn.com ...
-1
votes
1answer
52 views

Using Notepad++ to replace only a part of the text

In a html file I want to replace <div id="pe1" style="display:none"> <div id="pe2" style="display:none"> .... <div id="pe20" style="display:none"> with <div id="pe1" ...
1
vote
0answers
136 views

Notepad++ disable document switcher mouse shortcut

Notepad++ has this feature where you can right click + mousewheel to scroll between documents. My problem is that I hit this all the time by accident resulting in minor (yet cumulative) annoyances ...
0
votes
0answers
52 views

How can i keep and remove some charecters from specific line notepad++

i have about 1000 of 80000 rows that looks like these lines and with different disposition ...
0
votes
1answer
453 views

Add new line after words matching a specific pattern

I'm trying to add a new line before and after a hyphenated word (one or many hyphens) in Notepad++ Input This is a search-and-replace test which I need-help to figure-out</h2> Output This ...
0
votes
1answer
47 views

How do I process this data with a regex in Notepad++?

I have a database dump, looking like this: ;i:23;s:18:"Product Name1";i:24;s:27:"Product Name2";i:25;s:15:"Product Name3"; [...] All I'd like to get in Notepad++ is this: Product ...
0
votes
1answer
85 views

Performance issues with Notepad++

For some reason, Notepad++ has performance issues when I open a file containing a very long line (+40M characters). The total size of the file is approximately 60 MB. I have to wait several seconds ...
1
vote
0answers
225 views

How do I restore verbose backup (bak) of notepad++ file?

My system crashed and my document is hosed. I have a restore from yesterday morning, but want to see if I can restore any of the .bak files that npp has produced for me. I enabled the verbose backup ...
2
votes
1answer
440 views

HighLight matching tags in php

Have php with echoing html tags. notepad++ 6.4.5 is highlighting ok the tags inside php and outisde php. notepad++ 6.5 is highlighting ok the tags only outisde php and NO HIGHLIGHT inside php code. ...
0
votes
1answer
67 views

Notaped++: pasting in block edit mode in Notepad++?

I can enter the block edit mode using Shift+Alt+A in Eclipse. For Notepad++ they recommend push down the Alt key then select the block you want with the mouse (without releasing the Alt key). ...
2
votes
1answer
773 views

Increment Number in notepad++

I have numbers like 32,33,33.1,33.2,34,34.1,35,35.1,35.2,35.3,35.4,36 and so on. Now is it possible that if I will change the number 32 to 52, then all respective numbers will also change like ...
2
votes
1answer
324 views

In Notepad++, how do I remove characters after a certain character?

In NotePad++, I want to remove everything after the third : character in a line. So, the character would look like: text:moretext:evenmoretext How would I get rid of the evenmoretext?
0
votes
1answer
510 views

Config Eclipse to open files in external editor

We can go in Windows > Preferences, Editors > File Assossiation to config external editor for any file type. I've done that and now I can right click on any file and go Open With to open that file in ...
0
votes
1answer
240 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
23 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
76 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
99 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
66 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
46 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
187 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
651 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
40 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
121 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 ...
3
votes
1answer
129 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 ...
3
votes
1answer
2k 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
152 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. ...