I will use it as a redirect rule in the iirf.ini file (htaccess syntax is supported).
How can I do this ?
^(?!.*(/admin/|\?page=))
This means that when at the beginning (^), the input should contain any of the two test strings
I need to match all that does not contain /admin/or? page = URL.
I will use it as a redirect rule in the iirf.ini file (htaccess syntax is supported).
How can I do this ?
Use negative lookahead (?!…) with regular expression OR(a | b):
^(?!.*(/admin/|\?page=))
This means that when at the beginning (^), the input should contain two test characters Any one of the string