Simple Regex: match everything until the last dot

前端 未结 3 2090
一生所求
一生所求 2021-02-08 00:48

Just want to match every character up to but not including the last period

 dog.jpg     -> dog
 abc123.jpg.jpg -> abc123.jpg

I have tried

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