A true regex implementation might be difficult due to catastrophic backtracking (https://www.regular-expressions.info/catastrophic.html) but something allowing character classes, wildcards, etc. would be much more powerful than the current contains filter, which is fairly inflexible.