What you could do is to do a little bit of scripting for yourself.
Use “univention-ldapsearch” to get the dn’s for the users you want to delete.
And then “feed” udm with these dn’s.
Edit: I’ve changed the example to echo the removal commands first without executing them immediately. When you’re satisfied with the commands, simply remove the echo in the last line and re-run it.