In general, you can delete text that matches a given regular expression using an empty string ""as a replacement in the two functions you specify. However, as mentioned in the comments above, your regex is wrong.
For example, if your buffer contains the following text:
1. My todo list
1.1. Brush teeth
1.2. Floss
2. My favorite movies
2.1. Star Wars episodes 4-6
, , M-C-% ( , : ALT, CTRL, Shift, 5) query-replace-regexp. , .
, regexp:
\([0-9]\.\)+\s-
ENTER , . , - : , .
query-replace-regexp , , . "" - query-replace-regexp, , , . , , !, Emacs , .
M-x replace-regexp M-C-%, Emacs , .
, , , delete-matching-lines , - delete-non-matching-lines.