Find base name in URL in Javascript

后端 未结 6 1400
刺人心
刺人心 2020-12-09 17:35

I want to extract the base name from a image URL in Javascript. Would somebody care to give me a a hand on the Regex?

The rule would be:

  • return ever

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