怎样从html文本中提取关于表单的关键信息及元素,比如
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><form METHOD="post" ACTION="/join.htm" name="form" onsubmit="return submitForm(this);">
<input name="_fmm.j._0.fi" type="text" value="">
<input name="_fmm.j._0.p" value="86">
用正则表达式还是怎么弄?
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><form METHOD="post" ACTION="/join.htm" name="form" onsubmit="return submitForm(this);">
<input name="_fmm.j._0.fi" type="text" value="">
<input name="_fmm.j._0.p" value="86">
用正则表达式还是怎么弄?
举例上面的第一行,如果用boost,该怎么查找呢?