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

Replacing 12 hour format date and time in Notepad++

I'm trying to remove the date / time stamp from text in the following format: Randomtext - randomtext 9 Aug 5:55am 2nd line of random text - 2nd randomtext 15 ...
2
votes
6answers
2k views

Open file with existing instance of Notepad++ portable

I have Notepad++ portable "installed" and if I try to open a file from Windows Explorer that should open with Notepadd++ portable I get the error Another instance of Notepad++ is already running. ...
5
votes
1answer
301 views

How do I abort a long-running regex replace?

Edit: While I refer to RegEx in my background, I'm not looking for you to fix my RegExp (thanks for trying though) - rather I want to know "how do I abort a search/replace in NotePad++". ...
3
votes
0answers
2k views

Adding 1 Incrementally in Search & Replace in Notepad++

I have a file that I want to extract data out of. I normally use web scraping to get the info I need, except in this case the information isnt readily "visible" for scraping needs. Reason being -- ...
1
vote
2answers
11k views

How to remove the first character of every line in Notepad++ [duplicate]

Possible Duplicate: delete first 27 characters from every line notepad++ I managed to find an answer to remove the last character from every line in Notepad++, but now I need the same ...
1
vote
2answers
2k views

How can you get the specific spaces you want to remove in notepad ++

Example: I want to remove the space I want to remove the space I want to remove the space How can I remove the word SPACE so that the three sentences will be a complete thought. Is there a ...
2
votes
2answers
416 views

Regular Expression Help Needed in Notepad++

I need to know the syntax for a regular expression (notepad++) to help me find/replace every instance of following string in a text document the string is as follows Where do you want to go next? ...
4
votes
1answer
358 views

Make floating window tab widths wider in Notepad++

How can I make the floating window tabs wider/static width in Notepad++ (version 5.9.6.2)?
1
vote
1answer
1k views

Porting Notepad++ syntax to Sublime Text 2

What's the best way to convert a Notepad++ style into a Sublime Text/Textmate syntax?
8
votes
2answers
2k views

Is there a way to turn off popups in Notepad++ macros?

I created a macro in Notepad++ that cleans up imported data through a series of regex search and replace iterations. This works well, but at each step, I get a popup telling me how many instances ...
9
votes
2answers
3k views

Open two instances of Notepad++

I have a question about notepad++ I want to run notepad++ twice. Like in this paint printscreen How I want it: Not what I want: Is this possible?
0
votes
1answer
54 views

Expression to replace a section of test

I have a large xml file that I'm trying to replace text in and would like to replace sections of the test with other text. Below are example tags that I would like to modify. The section of each tag ...
2
votes
1answer
376 views

Interactive regex find highliting in Notepad++

How can I make Notepad++ highlight my regex matches as I type?
10
votes
8answers
9k views

Notepad++ - Removing the first column in a comma separated file

I have a large CSV file that I need to remove the first column of data. I cannot open it in Excel because Excel converts some of the values in the columns to scientific numbers. I am using Notepad++, ...
2
votes
1answer
2k views

Use Notepad++ styles with Sublime Text 2

Is it possible to use notepad++ syntax themes/styles with sublime text 2? If so, how do I do this. I code COBOL programs, and love some of the features in sublime. But it lacks the syntax ...
1
vote
1answer
1k views

Replacing last word in a line in Notepad++

How can I replace different last words in a line in Notepad++? e.g. This is line one This is line two This is line three etc. Replace with: This is line /one/ This is line /two/ This is ...
4
votes
5answers
12k views

Format xml in Notepad++

I have Notepad++ and XML Tools plugin installed. When I copy an XML file and paste it to the window. It became one line. How can I auo format it and make it readable? Thanks. The demo image likes:
8
votes
1answer
10k views

How to remove all the duplicated words on every line using Notepad++?

I'm working on a file containing lines with keywords and some lines contain duplicated keywords. For example: dangerous,dangerous,hazardous,perilous I want to tell Notepad++ that I want to remove ...
6
votes
3answers
8k views

Notepad++ - Highlight text and insert html <tag></tag> around it

Is there a way to have this feature in Notepad++: select some text insert an html <tag>``</tag> around it (ie. <strong>, <em> etc)
1
vote
2answers
540 views

Find and Replace in Notepad++

I am trying to do a find and replace in Notepad++ I have a file that has an open bracket a number and a comma I want to replace the number leaving the value null Ex: Find: "(32," Repalce with: "(''," ...
0
votes
1answer
256 views

Regex Notepad++?

i don't how replace this text into this: ab fg\r fsd& into this: a b f g \r f s d & And Viceversa: r f f f into this: rf ff Can u help me, please?
1
vote
3answers
2k views

Icon not changing

As you can see in the first image, I have selected always open with notepad++ program. But, the problem is that the all the php files are opening with notepad++ program but the icons doesn't change. ...
1
vote
2answers
132 views

Notepad++: Regex issue

What I'm trying to do is to remove all line numbers. In other words to find and replace all expressions like x: or xx: with : Tried: No success! Also No success! Any suggestions? Thanks ...
1
vote
1answer
2k views

Replacing timestamps in Notepad++

I have a log file with time stamps on each line such as 2012-06-26 21:31:40 Killshot: Something, Something... 2012-06-26 21:31:40 Killed [player name] 2012-06-26 21:31:40 Executing Death Sequence ...
5
votes
2answers
6k views

How can I find words of a specific character length in notepad++?

I am looking to find words of 14 or more characters in Notepad++. Any ideas?
1
vote
1answer
176 views

Mac Txt File With Curly Quotes In Notepad++ On Windows

I'm so tired of changing curly quotes to real quotes. Some people that work with me use Mac OS X and when they send me .txt files they ALWAYS have curly quotes I open them on Windows with notepad++ ...
0
votes
1answer
60 views

Type macro's name in text editor to run it, Is such a thing even possible?

Atm, I'm notepad++ user working mostly on Javascript. And I have a lot of commands that I want to bind to macros. Remember all hotkeys is hard and unpleasant thing. So I wonder is it's possible to let ...
2
votes
1answer
2k views

How can I run a macro on multiple files?

I want apply a Macro created in N++ to multiple files stored in a folder or multiple folders.
0
votes
1answer
448 views

Notepad++, my regex that works elsewhere, seem not work with Notepad++ search

Hello i got following regex height="(\d*\.\d{3})\d*cm" And problem, while it works on site i did designed it http://gskinner.com/RegExr/ it wont work with notpad++, could someone help me ...
0
votes
3answers
4k views

notepad++ not working as expected

i'm using notepad++ for editing my php scripts. however i found a strange problem: when changing encoding from ANSI to UTF8 (without bom), saving, closing, re-loading - then checking encoding: is ...
1
vote
1answer
570 views

Open links in Notepad++ with keyboard

I can open internet links in Notepad++ by double clicking on a link. Is there a way to do this only using keyboard? I mean are there any key board short cuts to achieve this?
14
votes
1answer
3k views

is there a place to get/share notepad++ syntax highlighting?

I'd like Notepad++ to correctly style my cshtml files (that's ASP.NET MVC Razor view engine files). Rather than tweak one myself, is there a place I can grab one that's already made? If I do end up ...
1
vote
1answer
2k views

Remove similar strings from text?

i'm using notepad++ and sed on Windows. I have a file text 2000+ lines but sometimes i have this rows: http://www.shragle.com/files/9baa908b/Bvdub-The_First_Day-%2528HN031%2529-2012.rar ...
8
votes
1answer
9k views

JSON Validator for Notepad++?

I'm looking for a plugin that can check the current opened file and instantly tell me whether it is valid JSON or not (eg whether there's a comma or a bracket missing) — is there any? I'm currently ...
4
votes
1answer
1k views

How replace many words with other many words in Notepad++? [duplicate]

Possible Duplicate: Find and Replace several several different values all at once to find multiple words i use | But how regex must i use to replace words with many words? Look here ...
5
votes
1answer
361 views

How to disable highlighting unsaved documents?

By default, Notepad++ 6.1.4 highlights documents with unsaved changes. I'm trying to disable this, since I'm using a dark theme and the highlighting is too bright and doesn't look good. Does anyone ...
3
votes
2answers
4k views

Notepad++: Select/Copy Collapsed Folding Group

Notepad++ current supports folding as described here: http://npp-community.tuxfamily.org/documentation/notepad-user-manual/display/folding However, I see no immediate way to actually select or copy ...
0
votes
1answer
180 views

Notepad++ Drag to ftp

I'm using both explorer and NppFTP plugins for NP++. Is there a way to drag and drop a file from the local explorer window to the remote ftp one?
0
votes
3answers
1k views

What are other text editors using in place of Sublime's “go to anything” [closed]

Sublime's "go to anything" is a functionality that allows you to fastly go to any file or symbol inside a file by just typing a few keystrokes.
-2
votes
3answers
131 views

How can i copy the lines, or words observed the numbers of rows?

How can i copy the lines, or words observed the numbers of rows? 1 -- text 2 -- text 3 -- text 4 -- text I want copy lines 2-4. not lines 1-3. I want maintaining the structure of lines but the ...
3
votes
3answers
3k views

Notepad++. How to replace different characters with corresponding letters at once?

How to find and replace in Notepad++ multiple different characters to corresponding letters at once throughout the text? For example, I have 32 characters that I want to replace. So I have the ...
1
vote
1answer
602 views

Find and replace all occurrences of a tag in Notepad++

I am trying to find and replace all occurences of a tag <xyz..ewwef> in a text using Python or Notepad++. Since I got a lot of data, Python keeps hanging up when I use the regex function, so ...
24
votes
2answers
4k views

Why does this window have square corners?

On Windows 7 with the Aero theme, Notepad++'s Preferences window has square corners, no system menu icon, a close button, and a darker 1px border. This window also has an AlwaysOnTop attribute. (I ...
0
votes
1answer
212 views

pasting a folder through an sftp connection in notepad++

I want to paste a folder through notepad++ to a repository I connect to through sftp. Notepad++ only allows me to upload one file at a time which is not very practical. Any ideas other that winSCP (it ...
20
votes
1answer
16k views

How to expand/collapse all blocks of ruby code in notepad++?

Is there any way how to collapse all blocks in ruby code in Notepad++? It is much easy to navigate the code of functions, routes in Sinatra and blocks in rufus if all blocks are collapsed.
1
vote
1answer
214 views

How do I (un)comment lines in a ruby file using Notepad++

Is there any way how I can comment (add # at the beginning of the line) and uncomment remove # from somewhere before the code on the line(s) when coding in ruby?
5
votes
2answers
10k views

How can I hide the line numbers in Notepad++?

How can I hide left lines counting thing in Notepad++? I can't find it in menu and can't google it. I don't like it.
0
votes
1answer
3k views

Notepad++ delete everything but the strings I searched for/or copy the strings

I performed a search <a href="(.*).website.com/"> I want to either copy every instance of it or delete everything else and then put them on separate lines.
0
votes
2answers
2k views

Notepad++ find and copy all specific types of strings in text (updated)

It isn't working. I hit CTRL+F selected "regular expression" and searched for href=".*\.website\.com" I found nothing I need to search for all instances of <a href="xxxx.website.com/"> where ...
0
votes
0answers
183 views

How to divide .for file on parts with conditions

If we have for example very big matrix .for file 50MB shown down. I have to divide it on 50 separated .for files not bigger then 1Mb. How to make them automatically, not copy/paste manual? As we have ...