I am trying to filter out paths that start with certain string but do not have the "iframe" substring in it. Here is what seems to be working for me https://regex101.com/r/rIMFDP/1
^\/csr_and_sustainability_information\/(?!.*iframe)
but on amazon this regex doesnt work https://docs.aws.amazon.com/waf/latest/developerguide/waf-regex-pattern-set-creating.html
It states
AWS WAF supports the pattern syntax used by the PCRE library libpcre
I wonder if its possible to reproduce what I want within that standard
So I want select all routes starting with /csr_and_sustainability_information/ AND do not include "iframe" in the latter part of the URL