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++
7,198
questions
-1
votes
0
answers
18
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
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 ...
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
...
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 ...
0
votes
2
answers
30
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
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 ...
-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>
</...
0
votes
1
answer
23
views
How to Bookmark Lines Before and After a Target Line Until a Specific Separator in Notepad++?
I have some text like following:
-------------------------------------------------------------
2021-05-18 - Tortrettert.webm 521.483
"Totrrtp" : 5 times
"GDtretP" : 17 times
-------...
1
vote
2
answers
28
views
How to put the same character in the beginning of all rows using regex?
I have a list of 10 digit numbers in a txt file.
I want to put the same character in the beginning of all rows using regex, without changing the numbers.
I also want to put the character at the end of ...
0
votes
1
answer
30
views
How to set Notepad++ to open existing ISO-8859 formatted files assuming the CP1254 (Windows-1254) encoding
I have lots of files encoded in CP1254 (Windows-1254 ANSI/ISO Turkish). When I double click such a file, I want Notepad++ to display them correctly. However, Notepad++ selects the default encoding of (...
4
votes
3
answers
79
views
Use Notepad++ to Capitalize Letters in Snake Case
I'm using Notepad++ to find/replace and can't quite get what I need.
My Current Output is being generated with ^(.+)$ as my Find and ,dim_date[(\1)].alias\((\1)\) as my Replace. It's close, but I can'...
-2
votes
1
answer
31
views
search contain keywords in notpad++ [closed]
I want to search for a description string that has a keyword. Examples are the current output.
description xxxx
policy-group APPS
description yyyy
policy-group APPS
description zzzz
policy-...