Universe Query Parameter Variables

I’m modifying an audit universe and want the user to be able to choose object folder path. First option is to type whatever they want in so /%.

Then I’d like to have an option for Enterprise:
/abc/* AND /def/*
NOT /abc/123/*

Or Ad Hoc

Or is this easier at the Crystal level? Can anyone help?