I think you can check for regular expressions, and also iswm compare. I'm not sure exactly how to use them, but I have seen them done before