Programming/Hybrid App

[Javascript] html tag 내에 있는 데이터 제거.

Fimtrus 2014. 4. 8. 11:49
.replace(/^()([0-9a-zA-Z가-힣~!\#$^&*\=+|:;?"<,.>'\s]*)(<\/td>)$/, "$1$3")

.replace(/(<td>|<td ([0-9a-zA-Z-_~!\#$^&*\=+|:;?"<,'\s]{0,}>))([0-9a-zA-Z가-힣-_~!\#$^&*\=+|:;?"<,.>'\s]{0,})(<\/td>)/,"$1$4")



테스트용.