The regular expression ^/wp-[^./]+\.php$ matches:
- wp-config.php
- wp-commentsrss2.php
- wp-pass.php
- wp-rdf.php
- […]
But I need another regex which matches all above except wp-login.php.
Is it possible to define an exception within that regular expression? How?
Thank you in advance.
Use
You can read about Negative Lookahead here.