Filter bar help

I have some filenames I'd like to filter using the filter bar. Is there the equivalent of a 'not' clause you can use.
e.g filenames
DD.WMSFILE1
DD.WMSFILE2
DD.WMSFILE3]D
DD.ZZZFILE

Id like to show all files containing 'WMS' but not containing a "]"

The closet I can get is entering 'WMS' which shows the first 3 files

Regards

BoredSilly

DD.#[~]]

Thanks, followed your example and read up on reg ex and worked it out as: WMS[~[D]