<select class="select abc">
<option>1</option>
<option>2</option>
</select>
<select class="abc select">
<option>1</option>
<option>2</option>
</select>如何用正则把html片段里select class删掉,保留select标签使其结果为 <select class=" abc">
<option>1</option>
<option>2</option>
</select>
<select class="abc ">
<option>1</option>
<option>2</option>
</select>
添加回答
举报
0/150
提交
取消