match only extionless url
- by user162428
I want a regex expression which only match extionless url. In otherwords if a extion is present in url then completely ignore it.
/(.+)/(.+) this will match both extionless and with extenion url i want to match only extionless URL
www.site.com/sports/cricket should match
www.site.com/sports/cricket.aspx shouldn't match
Thanks in advance