+ 1
About RegExp
I want to make a regexp that can return the string like " ::(fh) rtt('gghjj') " how to let JS return { "::":"fh", "rtt":"'gghjj'" }
1 Answer
+ 1
Here the code.
https://code.sololearn.com/W3lEKnzjZh9l/?ref=app
I want to make a regexp that can return the string like " ::(fh) rtt('gghjj') " how to let JS return { "::":"fh", "rtt":"'gghjj'" }