如题,我取网页源码。取出下面这些内容。
下面一共5段内容。
我只需要取出每段中(":{"g":214609914,"ul)这里面的9位数的一组数字。
5短都提取出来,然后生成 |214609914|....|.....|......|.....
我只能提取出1个,貌似用的正则。。。实在来不及了,会的帮我写下!!!!
感谢了!!!急需,在线等!!!!!
{"214609914":{"g":214609914,"ul":[{"u":1626073983,"flag":0}],"brief":"","class_extid":25,"class_id":0,"create_time":1352849437,"face_id":0,"flag":1090519041,"flag_ext":64,"level":0,"max_member":50,"memo":"","name":"","option":2,"owner":1626073983,"sequence_id":76,"special_class":0,"type":1,"permission":2,"province":0,"city":0,"active_degree":0,"active_day":0,"tag":"","logo":"","upgrade":"http:\/\/function.qq.com\/group\/show_create.php","auth":"4"},
"273134498":{"g":273134498,"ul":
[{"u":1626073983,"flag":0}],"brief":"","class_extid":25,"class_id":0,"create_time":1352770750,"face_id":0,"flag":1090519041,"flag_ext":64,"level":0,"max_member":50,"memo":"","name":"","option":2,"owner":1626073983,"sequence_id":45,"special_class":0,"type":1,"permission":2,"province":0,"city":0,"active_degree":0,"active_day":0,"tag":"","logo":"","upgrade":"http:\/\/function.qq.com\/group\/show_create.php","auth":"4"},
"273535630":{"g":273535630,"ul":[{"u":1626073983,"flag":0}],"brief":"","class_extid":25,"class_id":0,"create_time":1352770752,"face_id":0,"flag":1090519041,"flag_ext":64,"level":0,"max_member":50,"memo":"","name":"","option":2,"owner":1626073983,"sequence_id":25,"special_class":0,"type":1,"permission":2,"province":0,"city":0,"active_degree":0,"active_day":0,"tag":"","logo":"","upgrade":"http:\/\/function.qq.com\/group\/show_create.php","auth":"4"},
"279584453":{"g":279584453,"ul":[{"u":1626073983,"flag":0}],"brief":"","class_extid":25,"class_id":0,"create_time":1352770755,"face_id":0,"flag":1090519041,"flag_ext":64,"level":0,"max_member":50,"memo":"","name":"","option":2,"owner":1626073983,"sequence_id":9,"special_class":0,"type":1,"permission":2,"province":0,"city":0,"active_degree":0,"active_day":0,"tag":"","logo":"","upgrade":"http:\/\/function.qq.com\/group\/show_create.php","auth":"4"},
"279734933":{"g":279734933,"ul":[{"u":1626073983,"flag":0}],"brief":"","class_extid":25,"class_id":0,"create_time":1352849419,"face_id":0,"flag":1090519041,"flag_ext":64,"level":0,"max_member":50,"memo":"","name":"","option":2,"owner":1626073983,"sequence_id":9,"special_class":0,"type":1,"permission":2,"province":0,"city":0,"active_degree":0,"active_day":0,"tag":"","logo":"","upgrade":"http:\/\/function.qq.com\/group\/show_create.php","auth":"4"}}}”
|