Yes, you can use regular expressions with muc or modify the command pipeline used with history to exclude specific commands.