I want a regex expression which only match extensionless url. In otherwords if an extension is present in url then completely ignore it.
/(.+)/(.+) this wil
/(.+)/(.+)
.+/[^./]*$
This will match strings with no . after last /