For help! Want to extract the id value, at the value, the value value, different way because the query, json structure is different also, so the regular expression is the most convenient way to extract string I want! A great god for help all of you!
CodePudding user response:
Regex Matches (ori, "at ", \ "(. *?) \ \ ", \ "id" : \ "(. *?) Value \ \ ", \ "" : (. *?) } ")
Take each Match Groups [1], the Groups [2], Groups [3]
CodePudding user response:
This is not a JSON? Maybe use JsonReader more convenient?CodePudding user response:
How is this problem, it is not solvedCodePudding user response:
Results, please see: http://www.regexp.cn/Regex/index/1045Suggest still use JSON to read,