How can I delete short two-character lines in a text file using Notepad++
This is an original test file:
U70779 Especial
P160993 Especial
DV
P091262
HX
HkP095379 E
Ty
TP
P204406
Da
AC
Arturo Cobo Lopez
B022725 Regular
MM
This is the expected file:
U70779 Especial
P160993 Especial
P091262
HkP095379 E
P204406
Arturo Cobo Lopez
B022725 Regular
You may try the following find and replace, in regex mode:
Find: ^\w{2}$\R?
Replace: (empty)
Here is a running regex demo.