Regex: Get Filename Without Extension in One Shot?

后端 未结 7 1779
萌比男神i
萌比男神i 2020-12-03 03:20

I want to get just the filename using regex, so I\'ve been trying simple things like

([^\\.]*)

which of course work only if the filename ha

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