I am new writing IIS URL Rewrite regular expressions and have put together the following regular expression.
^(.*/?\.?)([^/]*)$
This currently matches the following paths
- home
- home.
- home.aspx
- home/about
- home/about.aspx and so forth.
Is this the most efficient way to rewrite URLs? Is there a better way?