Testing rules/expressions

I’ve been looking around for a way to test expressions. Like a regex tester but for the expression language used in WAF/Page/etc rules.

Looked into Wireshark to see if there was anything interactive like this, but haven’t found anything so far.

I thought one way to test was setting the rules to a ‘Log’ action, but I can’t find anything like this in the different dashboard to set rules.

How do you test your rules?

I am using the following tools to test regex