How do I recognize strings that do not end with a slash character ('/') using a regex?

前端 未结 3 1495
忘了有多久
忘了有多久 2021-01-20 21:09

How can i match a string that does not finish with / . I know I can do that /\\/$/ and it will match if string does finish with /, but

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