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.

notepad++
-1 votes
0 answers
19 views

Returning a wrong result when trying to add a value to the match by the PythonScript in Notepad++ [duplicate]

some of the GPS coordinates in my document are wrong. The coordinates in the document shown like: "-246.129464", "-246.129515", "-246.12978" But the real coordinates have ...
-1 votes
2 answers
65 views

Regex match for character class and new line or end of data

I need an regular expression to match every line in a file with = followed by new-line or A or B or C. For example, I want the search to give me They're Coming= and Pipeline=A but not #https://www....
2 votes
1 answer
41 views

Move Text Following Comma-Separated Numbers to a New Line

I have a list like the following: 32,981,250BLACKOPS 32,981,250 28,718,750BLACKOPSI 28,331,250BLACKOPS 29,493,750BLACKOPS Note that this is only a sample list to explain my problem. I want to move ...
-2 votes
1 answer
50 views

How do you Replace all RS line breaks in Notepad++ with /n

I am trying to create a /n line break in notepad++ to replace the RS line break to make an actual /n line break to see the code on multiple lines. Is there an ASCII code or something like that to ...
1 vote
1 answer
35 views

Macro for notepad++ - nested opening {} with indentation

I'm trying to create a macro to quickly enter two matching braces {} with an empty line in between that has the deeper indentation. My current macro performs this sequence: { Enter Enter } ↑ Tab ...
1 vote
1 answer
33 views

regex negative lookahead how to find a string that ends with a series of digits and a parenthesis?

I have this regex for Notepad++ which works to find the strings I am supposed to find which are all lines ending each with a number in brackets. ^.*\(\d*\)\r\n Problem is: Those are the lines I want ...
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 ...
3 votes
3 answers
1k views

How to remove an autocomplete option from notepad++

I am using notepad++ and have enabled the autocomplete feature. For the most part I like having it, but there are a few words it tries to autocomplete that just interfere with my productivity. For ...
0 votes
2 answers
31 views

notepad++ regex mode: insert new line to some hex code

i have hex code below. the regex find code can match the string, but replace code wont keep the original string. my question : how to fix replace code to keep original string. thx hex txtfile: ...
0 votes
0 answers
17 views

Extract content from Notepad++

Hi I am trying to extract mcc and mnc along with their values from a log file defined under "userLocationinfo: class UserLocation{" Can anyone help with that? The overall file is big and lot ...
7 votes
4 answers
3k views

How can I make AutoHotKey intercept hotkeys before other programs?

I have a fairly simple autohotkey script that starts and stops music playback when I press one of the XButtons on my mouse: XButton1::Send {Media_Play_Pause}. The program works just perfectly and I ...
-3 votes
1 answer
61 views

Regular expressions in Notepad++: find start string - middle string - end string, even if start and end occur multiple times [duplicate]

I have an XML file where I would to select blocks if and only if they contain a certain value: <outer block> <name>A</name> <inner block>Hello</inner block> </...
20 votes
2 answers
22k views

Notepad++ and regex: how to UPPERCASE specific part of a string / find / replace

I've been trying for some time now to get this working, but i can't find a solution to this task myself - ok, I'm very new to regex-use but quite interested to learn, hope anybody has some brainfood ...
0 votes
2 answers
37 views

How to Bookmark Normal and Decimal Percentage Numbers in Notepad++?

I'm trying to bookmark lines that contain percentage numbers in Notepad++. Specifically, I want to bookmark both whole number percentages (like 9%) and decimal percentages (like 4.5%). for example I ...
0 votes
1 answer
175 views

Can i prevent notepad++ deleting empty spaces between closing and opening XML tags when going from Linarize to Pretty Print to Linarize

i have some an XML file where some closing and opening tags contain spaces in between them which i want to remain as spaces. <test_id="123">content</test> <test_id="456">content<...

15 30 50 per page
1
2 3 4 5
480