c++正则匹配HTML标签input实例,c++实例
文件demo.html
0 1 2 3 4 5 6 7 8 9 10 11 12 |
...... <!--这里设置一个重复的 id ,并且有一对单引号--> <input type="hidden" value="hk" id='888' id='languageId' /> <input type="hidden" value=" " id="topNavPreviewId" /> <form action="transfers.htm" autocomplete="off" method="get" id="searchForm"> <input class="gnav-bar-search-input" name="keyword" id="keyword" placeholder="搜索" autocomplete="off" autocorrect="off" required=""> <button type="button" class="gnav-bar-search-clear fa fa-times"></button> </form> <input type="hidden" id="productName" value="Air Jordan XXXV CNY PF"> <input type="hidden" id="productLabel" value="男子籃球鞋"> ...... |