Tag: html parsing

如何从JavaScript中的HTML字符串中提取div中的所有内容

我有一个像这样的HTML字符串: – var html = ‘ wow link wow link ‘; 如何提取 所有内容?