안녕하세요 string으로 표현된 html에서 태그 내에 직접 입력한 style을 모두 제거하고싶습니다.
<class= 'abc' style='padding: 0px 4px; overflow: hidden; overflow-wrap: normal; white-space: nowrap; width: 1170px; max-height: 33px;' 블라블라>
style부터 시작해서 max-height: 33px;' 까지 제거 하고싶습니다..
예제를 찾아보려해도 없어서 이 부분은 없는 거같아서 올립니다 ㅠㅠ
이런식으로 되있다면 str..replace(/(style= 정규식)')/ig,"")
이런식으로 해야할거같은데 도움을 주시면 감사하겠습니다 ㅠㅠ