All Questions
3,157
questions
-1
votes
1
answer
36
views
Bookmark Lines Between Two Regex Patterns in Notepad++ Without Including the Patterns Themselves [duplicate]
I have a list, and here is an example snippet:
Newii
27,807,147
Supd
26,518,465
Ns.
26,175,538
Mai
24,930,812
Gas
0623,901,055
TEim
20,213,631
Tes
GrV
18,968,412
Mytyttyst
y
htththt
hyhyh
October 2013
...
2
votes
1
answer
36
views
Bookmark last comma-separated value before specific separator using Notepad++ regex
I have a list of text data formatted as follows:
Drtyjtyjnt
11,825,222
Ftyryer
8,823,623
Strtrtuperd
8,542,448
Ts
7,153,156
Supd
7,122,304
Su.3
6,920,743
Supld
dddd
tgtgtg
Sd
April 1991
///////////////...
0
votes
2
answers
30
views
How to limit/cap values exceeding a certain value in Notepad++
I have this snippet of code in yml:
- Item: Oldman's_Romance
Rate: 50
- Item: Grasshopper's_Leg
Rate: 8000
- Item: Azure_Jewel
Rate: 9000
- Item: ...
1
vote
2
answers
54
views
Replace Spaces with New Lines in Comma-Separated Number Lines
I have a list like following:
\u042f 12,197,051
\ube44\ud574 93,721,409
HUMAN 45,754,677
Overwatch 43,437,031 OVERWATE
Now I want to replace spaces with new lines in Comma-Separated number lines like ...
-1
votes
2
answers
71
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
45
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 ...
1
vote
1
answer
34
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 ...
0
votes
2
answers
34
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
64
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
24
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
-------...
4
votes
3
answers
81
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'...
0
votes
1
answer
46
views
Notepad++ regex to insert character to multiple places in the line
I have a structured file where every line has the same format. I need to insert the same character multiple positions in the line and apply the same to all the lines. I have a list of positions where ...
-2
votes
1
answer
90
views
Regex to match final word of first line of two-line subs
I'm trying to fine-tune a regex to quickly check if the auto-break feature of Subtitle Edit has produced any funny-looking breaks syntactic/semantic-segmentation-wise.
I have put together an extensive ...
0
votes
0
answers
58
views
Regex \K escape sequence in Notepad++ does match what I target but can't replace the match
Bug or feature?
Example:
^(?:[^a-zA-Z\s\(]+)(?: · [^a-zA-Z\s\(]+)*\K[a-zA-Z]+ (?=(?:(?: · [^a-zA-Z\s\(]+[a-zA-Z]+ )* 【 [^ ]+(?: ·[^ ]+)* 】)?\r\n)
will match the transliterated parts "shibashiba&...