cursor-eraser.keep-match: remove cursors on lines that do not match the specified regular expression.
cursor-eraser.erase-match: remove cursors on lines that matches the specified regular expression.
configuration
Case-sensitivity is configurable in cursor-eraser.caseSensitive of setting.json (default: true).
Each command can take an argument for the regular expression to be used. For example, if you append the following to keybindings.json, you can remove the cursor on a blank line by pressing ctrl+alt+q.