可能重复:
RegEx match open tags except XHTML self-contained tags
我需要从name = variable
的输入中获取值 ....
<input type='hidden' name='variable1' value='2d331be47563423424abdb7fe2eee6401c7b00417' />
<input type='hidden' value='2d331be47563423424abdb7fe2eee6401c7b00417' name='variable2' />
<input value='2d331be47563423424abdb7fe2eee6401c7b00417' type='hidden' name='variable3' />
....