JS|regex

在HTML結構的文字 抓取html content

在HTML結構的文字 抓取html content

htmlString.replace(/<[^>]*>/g, '').replace(/&nbsp;/g, ' ')