|
60精币
"code": 200,
"data": {
"count": 5452,
"currentPage": 1,
"data": [
{
"id": 2,
"code": "XFSDDDASSDSAA",
"fetchTime": 0,
"endTime": 1703975739,
"version": {
"id": 4,
"title": "",
"value": "normal",
"level": 1,
"money": null,
"createTime": 1702045634
},
"money": {
"id": 20,
"title": "7天",
"time": 10080,
"version": {
"id": 4,
"title": "",
"value": "normal",
"level": 1,
"money": null,
"createTime": 1702045634
},
"money": 15,
"createTime": 1702213022
},
"createTime": 1703186483
},
{
"id": 3,
"code": "XFSDDDASSDSAA1sdasd",
"fetchTime": 0,
"endTime": 1704047739,
"version": {
"id": 4,
"title": "",
"value": "normal",
"level": 1,
"money": null,
"createTime": 1702045634
},
"money": {
"id": 20,
"time": 10080,
"version": {
"id": 4,
"title": "",
"value": "normal",
"level": 1,
"money": null,
"createTime": 1702045634
},
"money": 15,
"createTime": 1702213022
},
"createTime": 1703186483
正则求助 批量取出标红的部分
|
最佳答案
查看完整内容
.版本 2
.支持库 spec
.子程序 子程序1
.局部变量 正则, 正则表达式类
.局部变量 i, 整数型
正则.创建 (“code#引号:.*#引号(.*?)#引号,\s.*[\s\S]*?#引号endTime#引号:\D* (\d+)”, #常量1, 假, 假, 真, 真)
.计次循环首 (正则.取匹配数量 (), i)
调试输出 (正则.取子匹配文本 (i, 1, ), 正则.取子匹配文本 (i, 2, ))
.计次循环尾 ()
* Windows 7
* “XFSDDDASSDSAA” | “1703975739”
* “XFSDDDASSDSAA1sdas ...
|