喜欢.//div[@id='foo\d+]用div捕获div标签的东西id='foo123'.
.//div[@id='foo\d+]
id='foo123'
我正在使用.NET,如果这很重要的话.
.net regex xml xpath
.net ×1
regex ×1
xml ×1
xpath ×1