How To Scrape Id-less Website Elements With Xpath-only Regex Patterns
There are several similar questions related to the usage of regex in XPath searches -- However, some are not very illuminating to me, whereas others failed for my specific problem.
Solution 1:
You don't want a regex for this, you want the predicate [position()<=6]
.
Post a Comment for "How To Scrape Id-less Website Elements With Xpath-only Regex Patterns"