|
5精币
["202410111457","11.72","11.72","11.72","11.70","10425.00",{},"0.54"]需要这里面的几个数据,正则需要怎么写?
下面是源文本:
“m60_today={"code":0,"msg":"","data":{"sz000001":{"qt":{"sz000001":["51","\u5e73\u5b89\u94f6\u884c","000001","11.72","11.98","12.00","2070891","891402","1179489","11.71","6719","11.70","4215","11.69","635","11.68","2967","11.67","620","11.72","1671","11.73","1334","11.74","3311","11.75","3414","11.76","1654","","20241011161448","-0.26","-2.17","12.17","11.58","11.72\/2070891\/2455848197","2070891","245585","1.07","4.84","","12.17","11.58","4.92","2274.34","2274.37","0.56","13.18","10.78","0.45","3772","11.86","4.39","4.90","","","1.04","245584.8197","0.0000","0"," ","GP-A","39.11","4.89","8.23","9.74","0.82","13.18","8.00","21.40","19.91","18.46","19405617528","19405918198","14.21","43.19","19405617528","","","15.52","0.00","","CNY","0","","11.80","-1906"],"market":["2024-10-13 14:03:28|HK_close_\u5df2\u4f11\u5e02|SH_close_\u5df2\u4f11\u5e02|SZ_close_\u5df2\u4f11\u5e02|US_close_\u5df2\u4f11\u5e02|SQ_close_\u5df2\u4f11\u5e02|DS_close_\u5df2\u4f11\u5e02|ZS_close_\u5df2\u4f11\u5e02|NEWSH_close_\u5df2\u4f11\u5e02|NEWSZ_close_\u5df2\u4f11\u5e02|NEWHK_close_\u5df2\u4f11\u5e02|NEWUS_close_\u5df2\u4f11\u5e02|REPO_close_\u5df2\u4f11\u5e02|UK_close_\u5df2\u4f11\u5e02|KCB_close_\u5df2\u4f11\u5e02|IT_close_\u5df2\u4f11\u5e02|MY_close_\u5df2\u4f11\u5e02|EU_close_\u5df2\u4f11\u5e02|AH_close_\u5df2\u4f11\u5e02|DE_close_\u5df2\u4f11\u5e02|JW_close_\u5df2\u4f11\u5e02|CYB_close_\u5df2\u4f11\u5e02|USA_close_\u5df2\u4f11\u5e02|USB_close_\u5df2\u4f11\u5e02|ZQ_close_\u5df2\u4f11\u5e02"],"zjlx":["sz000001","0.00","0.00","0.00","0","0.00","0.00","0.00","0","0.00","0.00","0.00","\u5e73\u5b89\u94f6\u884c","20200701","20200701^0.00^0.00","20200630^0.00^0.00","20200629^0.00^0.00","20200624^0.00^0.00","0.00","0.00","20200701085013"]},"m1":[["202410111448","11.67","11.68","11.69","11.67","12548.00",{},"0.65"],["202410111449","11.68","11.71","11.71","11.68","11080.00",{},"0.57"],["202410111450","11.72","11.71","11.72","11.69","6096.00",{},"0.31"],["202410111451","11.71","11.73","11.73","11.70","9423.00",{},"0.49"],["202410111452","11.74","11.71","11.74","11.70","12734.00",{},"0.66"],["202410111453","11.70","11.70","11.72","11.70","9915.00",{},"0.51"],["202410111454","11.72","11.72","11.72","11.69","5779.00",{},"0.30"],["202410111455","11.72","11.73","11.73","11.71","8596.00",{},"0.44"],["202410111456","11.72","11.72","11.72","11.71","11748.00",{},"0.61"],["202410111457","11.72","11.72","11.72","11.70","10425.00",{},"0.54"],["202410111458","11.72","11.72","11.72","11.72","642.00",{},"0.03"],["202410111459","11.72","11.72","11.72","11.72","0.00",{},"0.00"],["202410111500","11.72","11.72","11.72","11.72","19503.00",{},"1.00"]],"prec":"11.98"}}}”
|
最佳答案
查看完整内容
.版本 2
.支持库 spec
.子程序 _按钮1_被单击
.局部变量 正则, 正则表达式类
.局部变量 n, 整数型
.局部变量 文本, 文本型
正则.创建 (“(\[” + #引号 + “\d{12}.*?\])”, #常量1)
文本 = 正则.取子匹配文本 (10, 1)
调试输出 (文本)
|