I need some regular expressions for "contain" and "do not contain". Normally I'd just write:
Contains : ((.*WORD_A.*))$ and Does Not Contain : (^((?!WORD_A).)*)$
This works fine if used alone, but I want to write something that can detect sth. like "Contains word A and Word B" (order not relevant!) and "Contains word A, but not Word B).
Basically I want that the user can make a statement like this "Starts with word A, Contains word B, but not C and/or ends with D" and the program returns true/false. The best thing would be to just append the regular expressions. Is this possible? I can't figure it out.