|
|
本帖最后由 lovnie 于 2015-10-27 09:48 编辑
- <input name="txtKeyword1771" type="text" id="txtKeyword1771" class="input003" class="inputtext span4" onblur="feifacheck($(this).attr('id'),'sampKeyfeifa');TextValidate($(this).attr('id'));" onKeyUp="strLength($(this).attr('id'),'sampKeyword1',12);" onfocus="strLength($(this).attr('id'),'sampKeyword1',12)" style="width:240px;" />
复制代码
我要取的是 txtKeyword1771 这个是个发布的参数
比如
Content-Disposition: form-data; name="txtKeyword1771"
class="inputtext span4"这个是唯一的
那我这样写的 一直取不出来 不知道哪里有错误
[发布前提交1参数2]<input name="(.*?)" type="text" id="(.*?)" class="input003" class="inputtext span4"[/发布前提交1参数2]
Content-Disposition: form-data; name="{发布前提交1参数2}"
一个正则里出现两个(.*?)提取了,代码如下:<input name="(.*?)"[\s\S]*?class="inputtext span4"
|
|