RegExp to get text in a key value pair separated by a colon

前端 未结 3 1609
被撕碎了的回忆
被撕碎了的回忆 2021-01-14 04:36

I have my Regexp example here: https://regex101.com/r/kE9mZ7/1

For the following string:

key_1: some text, maybe a comma, ending in a semicolon; key_2: text

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