求助攻,正则表达式
上次匹配正则得到了一位版主大大的支持,搞出来了一部分,详见http://bbs.csdn.net/topics/390636368帖子,在此不再阐述。
今天又遇到问题了,例如HTML页面中有两条记录:
{"id":XXX,"type":1,"fakeid":"XXX","nick_name":"天空","date_time":xxx,"content":"你好","source":"biz","msg_status":2,"has_reply":0,"refuse_reason":""}
{"id":XXX,"type":1,"fakeid":"xxxx","nick_name":"海洋","date_time":xxx,"content":"你也好","source":"","msg_status":4,"remark_name":"haiyang","has_reply":0,"refuse_reason":""}
进行匹配,但是为什么只能取到第一条记录而取不到第二条?两条中都msg_status,请问这个是为什么? 正则表达式 ASP.NET
"id":\\d+,"type":\\d+,"fakeid":"[^"]+","nick_name":"[^"]+","date_time":\\d+,"content":"[^"]+","source":"[^"]+","msg_status":\\d+