- Регистрация
- 28.02.2012
- Сообщения
- 70
- Благодарностей
- 6
- Баллы
- 0
I want to scrap value of hidden field
With regular expression : (?<=\<INPUT.*value\=).*?(?= type\=hidden\>) I got result 1234. It's OK
but sometimes the fields are not in the same order and in lowercase or uppercase
eg :
<INPUT type=hidden name=hyds2 value=1234>
<input name=hyds2 type=hidden value=1234>
<INPUT value=1234 type=hidden name=hyds2>
....
Anyone know how I can do that in regular expression builder ?
Код:
<FORM onsubmit="javascript:return add();" method=post action=ajout_message.php>
....
<INPUT name=hyds2 value=[COLOR=#0000ff]1234 [/COLOR]type=hidden>
....
</FORM>
but sometimes the fields are not in the same order and in lowercase or uppercase
eg :
<INPUT type=hidden name=hyds2 value=1234>
<input name=hyds2 type=hidden value=1234>
<INPUT value=1234 type=hidden name=hyds2>
....
Anyone know how I can do that in regular expression builder ?