Use T to tag messages matching ~s <subject regex>, etc. and l to view matching messages first before tagging, and then ;d to delete messages and $ to sync the changes to mailbox.

Alternatively, use D to replace T and ;d for simpler workflow.

To select a range of visible messages, use ~m with a comma for relative message number range and a hyphen for absolute number range (both are inclusive).

To reset the limit, type . after l, which is a “simple search” shortcut for all. Other simple search keywords are:

KeywordPattern modifier
all~A
.~A
^~A
del~D
flag~F
new~N
old~O
repl~Q
read~R
tag~T
unread~U

Movement

* moves to last entry and = moves to first entry.