Skip to main content

Questions tagged [notepad++]

Notepad++ is a free and open source text editor for Windows. It is designed as a replacement for the built-in Notepad application.

545 votes
24 answers
616k views

Aliases in Windows command prompt

I have added notepad++.exe to my Path in environment variables. Now in command prompt, notepad++.exe filename.txt opens the filename.txt. But I want to do just np filename.txt to open the file. I ...
Romonov's user avatar
  • 8,455
1263 votes
13 answers
976k views

Convert tabs to spaces in Notepad++

How do I convert tabs to spaces in Notepad++? I found a webpage that suggests it's possible, but I couldn't find any information about how to do it. I would like to be able to do that, because ...
Helephant's user avatar
  • 16.9k
698 votes
17 answers
917k views

Removing duplicate rows in Notepad++

Is it possible to remove duplicated rows in Notepad++, leaving only a single occurrence of a line?
Przemysław Michalski's user avatar
17 votes
1 answer
14k views

How to use conditionals when replacing in Notepad++ via regex

Consider the following regex: ([a-zA-Z])([a-zA-Z]?)/([a-zA-Z])([a-zA-Z]?) If the text is: a/b the capturing groups will be: /1 'a' /2 '' /3 'b' /4 '' And if the text is: aa/b the capturing ...
CinCout's user avatar
  • 9,599
45 votes
5 answers
82k views

Is is possible to export functions from a C# DLL like in VS C++?

In VS C/C++ you could use extern "C" __declspec(dllexport) -function declaration-. How do I accomplish this in a C# dll? Is there C# code equivalent to the above code? Edit: More info I am trying ...
Mike Webb's user avatar
  • 8,965
338 votes
19 answers
653k views

Find CRLF in Notepad++

How can I find/replace all CR/LF characters in Notepad++? I am looking for something equivalent to the ^p special character in Microsoft Word.
polara's user avatar
  • 4,872
81 votes
3 answers
327k views

How do I convert an ANSI encoded file to UTF-8 with Notepad++? [closed]

I have a website, and I can send my Turkish characters with jQuery in Firefox, but Internet Explorer doesn't send my Turkish characters. I looked at my source file in notepad, and this file's code ...
Kerem Bekman's user avatar
  • 1,271
37 votes
4 answers
69k views

Multiple word search and replace in Notepad++

How can I replace several different words all at once in Notepad++? For example; I have "good", "great" and "fine" and I want to replace them with "bad", "...
didiFaridi's user avatar
490 votes
7 answers
449k views

Regex: Remove lines containing "help", etc

I have a long document of commands. Using Notepad++ or regex, I want to delete all lines containing "help" including keyboard_help, etc. How can this be done?
dukevin's user avatar
  • 23k
148 votes
21 answers
510k views

How to Execute a Python Script in Notepad++?

I prefer using Notepad++ for developing, How do I execute the files in Python through Notepad++?
user avatar
278 votes
7 answers
428k views

Does Notepad++ show all hidden characters?

In Notepad++ I have set "replace tab with 2 spaces". When coding in Python I copy-pasted some code from the web and it appeared indented correctly. But running the code resulted in indentation errors,...
user89021's user avatar
  • 15k
105 votes
11 answers
149k views

Incrementally replace number numeric pattern?

Lets say I want to have a 10 rows of data but I want a value to increment for each row or piece of data. How do I increment that value? For example....If I have these rows, is there a regex way of ...
Travyguy9's user avatar
  • 4,334
3 votes
1 answer
1k views

Delete all content but keeping matched

If i have a big text, and i'm needind to keep only matched content, how can i do that? For example, if I have a text like this: asdas8Isd8m8Td8r asdia8y8dasd asd8is88n8gd asd8t8od8lsdas ...
Emanuel's user avatar
  • 3,153
2088 votes
23 answers
2.1m views

How do I format XML in Notepad++?

I have Notepad++ and I got some XML code which is very long. When I pasted it in Notepad++ there was a long line of code (difficult to read and work with). I want to know if there is a simple way to ...
happyhardik's user avatar
  • 25.3k
213 votes
11 answers
104k views

How do I use Notepad++ (or other) with msysgit?

How do I use Notepad++ (or any other editor besides vim) with msysgit? I tried all of the following to no avail: git config --global core.editor C:\Program Files\Notepad++\notepad++.exe git config -...
PHLAK's user avatar
  • 22.3k

15 30 50 per page
1
2 3 4 5
44