Regex_正则

来源:互联网 发布:黄金k线软件 编辑:程序博客网 时间:2024/06/05 16:42

找到input 标签

Regex reg = new Regex(@"(?is)<input[^/>]* type=(?<hidden>\S*)[^/>]* name=(?<__VIEWSTATE>\S*) [^/>]*/>");//可直接设置元素属性、已进行查找
0 0