P
P
Pavel2019-03-22 18:44:27
XPath
Pavel, 2019-03-22 18:44:27

How to correctly formulate an Xpath with "any number of characters between"?

XPath is copied like this:
//*[@id="TREY_96399541"]/div[2]/span
Tell me how to change 96399541 to any number of characters between _ and " ?
PS 96399541 is a tricky identifier that needs to be bypassed when parsing.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2019-03-22
@ShlackBaum

On the other hand, surely not?
For example:
//*[contains(@id, "TREY_")]/div[2]/span

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question