我有包含这段代码的 HTML:
<div id="div_space">
<div id="div" class="SCREENONLY" itemprop="description">Baby you<br />
abcdefghijklmnop123456789</div><div id="song" class="PRINTONLY">blabla</div>
我想abcdefghijklmnop123456789
从 html中解析Regex
:
string str = "<div id=ֿ\"div_spaceֿ\">(.*?)</div>"
Regex regex = new Regex(str);
Match match = regex.Match(html);
而且匹配总是空的,知道可能是什么问题吗?