2021年1月22日星期五

regex to get all the values starting with [[ and ending ]]

JavaScript Question I have a string like this:

"Hello my name is [[xxx]] and I love [[yyy]]"

How can I use Regex to give me the array like this: xxx, yyy ?

https://stackoverflow.com/questions/65855574/regex-to-get-all-the-values-starting-with-and-ending January 23, 2021 at 11:55AM

没有评论:

发表评论