How to match only extensionless URLs?

前端 未结 3 1935
旧巷少年郎
旧巷少年郎 2021-01-21 07:01

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

3条回答
提交回复
热议问题