直接上代码了
1 2 3 4 |
function clearHtml(htmlText) local s,c = string.gsub(htmlText,"<[%a%A]->","") return s end |
1 2 3 4 |
function clearHtml(htmlText) local s,c = string.gsub(htmlText,"<[%a%A]->","") return s end |