Javascript regular expression: match anything up until something (if there it exists)

后端 未结 5 1702
盖世英雄少女心
盖世英雄少女心 2021-02-05 06:18

Hi I am new to regular expression and this may be a very easy question (hopefully).

I am trying to use one solution for 3 kind of string

  • \"45%\", expected
5条回答
提交回复
热议问题