5 Replies Latest reply on Apr 17, 2017 11:21 AM by Jon Scholten

    Trying to write a regular expression block policy but not having much luck

    dconverse

      We are trying to write a regular expression block policy to deal with new TLD's that seem to appear daily. We have tries multiple combinations of strings but so far not having any luck. Has anyone attempted and been successful in getting a regex to work inside a policy. We currently have a global block policy that is ip/domain based but would like to use a regex if possible to control the amount of entries added daily. I have included an example below:

       

      The URLs go like this http://(WWWsometimes).domain.tld/downloads(random 4 digits)/  

       

      (.[A-z]{2,63}\/download\d{4}\/)

       

      Any input or suggestions is appreciated.

       

      Thanks,

      Dominick