<td width="16%" height="123" class="adult_normal_text">
<td height="123" width="86%" colspan="2" class="adult_normal_subheader">
정규 표현식 교체 HTML 태그
<td width="54%" height="123" >
나는 형식 < TD> 세 종류의, 내가 원하는
가 제거 "높이 = 123",얻을 수 있습니다 수업 뒤에서 수업이있는 경우 tbdh123
클래스가없는 경우 dd class = "tbdh123".
감사합니다.
그래서 당신은 명시 적 요소와 높이라는 이름의 클래스를 명시 적으로 높이를 대체하는거야? 적어도 그것이 스타일 시트에만 국한되어 있지만, 엄청난 시맨틱 개선이라고 확신하지는 않습니다. –
어떤 언어로 이것을 원하니? – Krycke
http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags#1732454 – Lusitanian