阅读背景:

处理Nokogiri / Regex中的特殊角色

来源:互联网 

I am getting the text from the body of an HTML doc as below. When I try to regex scan for the term "Exhibit 99", I get an no matched, i.e, an empty array. However, in the html, I do see "Exhibit 99", although inspect element shows it with &nbsp99. How can I get rid of these HTML characters and search for "Exhibit 99" as if it were a regular string?I am getting the text from the body of an HTML




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: