我有一根绳子:
const str = 'DELETE FROM "organization" WHERE "name" = $1 AND "metadata" = $2 AND "id" = $3';
我需要找到"metadata"单词来修改它。我只知道在= $2单词之后还有"metadata"。
const regex = RegExp(/ = $2/); // just to show what I have
const foundWord = someMagicWithReg
我试图读取html表,以便使用HtmlAgilityPack读取和更改表。我尝试了非常不同的网站,但我的代码不起作用。
SelectSingleNode函数返回null。另外,当我调用SelectNodes而不是SelectSingleNode时,结果再次为null。
示例链接有一个表。我怎么看这张桌子?
HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
doc.LoadHtml("http://www.uefa.com/livescores/");
var result = d