I am trying to make a rewrite rule to check whether the URL ends with
.html, but does not contain
The url starts out like
www.contoso.com/test.htm (or .html)
and ends up like
How can I do this with a regular expression?
You can use negative lookahead: