In my asp.net application i have url www.site.com/rugby to match it i have regex
"~/(.+)" which works perfectly fine. But if i navigate to www.site.com/login.aspx again regex matches with this expression "/(.+)".
In Simple words i want a regex which only match the extenionless url. IF extension is present in the url then do not match it thanks
<RewriterRule>
<LookFor>~/(.+)/(.+)/(.+)/</LookFor>
<SendTo>~/Shop/Item.aspx?cn=&1&it=$2&ft=$3</SendTo>
</RewriterRule>