Here's the scenario. I'm using a url rewriter that allows me to specify patterns and redirects if they match, pretty typical stuff.
I'd like to add a new rule to the bottom of my rules that is a catch all, but only to a degree. I don't want it catching anything that ends in .aspx or is just plain empty.
I have this so far:
(.+)(?!\.aspx)
My thought was capture at least one or more characters unless it ends in .aspx.
So default.aspx should not match but default will. Product.aspx will not match but product will.
This also failed:
(\w+)(^\.aspx)
Any help would be appriciated.