Skip to main content

All Questions

Tagged with
-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....
Rob's user avatar
  • 15
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 ...
Pubg Mobile's user avatar
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 ...
Simone Spinozzi's user avatar
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: ...
changjx's user avatar
  • 357
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 ...
Pubg Mobile's user avatar
-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> </...
AVS's user avatar
  • 111
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 -------...
Pubg Mobile's user avatar
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'...
simplicITy's user avatar
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 ...
Xnimak's user avatar
  • 1
-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 ...
Sarah's user avatar
  • 23
0 votes
0 answers
56 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&...
BitByBit's user avatar
0 votes
3 answers
88 views

Bookmark lines that start with a digit and are consecutive, while skipping some other lines

I have a list like following: Peie 71,176,953 T-re 71,173,557 5-Mts 41,653,495 45678 Sia 36,136,829 36,100,829 4-Diepi 120,829 uteCra 36,100 Oct2018 Now I want to bookmark lines that start with a ...
Pubg Mobile's user avatar
0 votes
0 answers
22 views

Insert multiple tabs (or characters) using Regular Expressions [duplicate]

I'm using Notepad++ RegEx Replace to convert a lateral list Q, N, S, G into a vertical one, with multiple tabs preceding each character. Q N S G Is ...
MJA's user avatar
  • 366
1 vote
1 answer
56 views

Notepad++ and regex: how to UPPERCASE only first letter in specific words with / find / replace [duplicate]

This is the given situation: INPUT TEXT jjj=Johann{enter}{enter} uuu=08:30{tab}18:00{tab} vvv=08:30{up}18:45{down}08:30{left}18:45{right}08:30{tab} OUTPUT TEXT (goal) jjj=Johann{Enter}...
Johann Sterzik's user avatar
3 votes
3 answers
118 views

How can I rearrange lines of text with regular expression search-and-replace?

I have a log file containing timestamps and usernames on our service from 6+ years ago. The issue lies in the fact that the new system won't accept any logs from 3+ years ago without some heavy ...
SamHammie's user avatar

15 30 50 per page
1
2 3 4 5
211