I have a number of pages in my site which respond through extensions. I want to be able to include in a report only the pages that don't have the `.php` extension, but all the other ones (like `.html, .cfm, .aspx` or no extension at all). How can I do that?

I've tried creating a filter but got stuck on the correct way to build the regex. I created the code bellow, but it is not filtering out the pages that don't have the `.php` extension.

```
(.*(?!(\.)php))$

```

what is wrong in this code?