I have some text like this: "Viewing 101-200 of 244". I would like to find this with an xpath.
Right now I use this:
//*[contains(text(),'Viewing') and contains(text(),'of')]
which is all very well and good but could potentially match other patterns. What I would like to do is something like in a regular expression as in the following:
//*[contains(text(),'Viewing [0-9]+ of [0-9]+')]
But I can't figure out how to use wild cards as above. Is there any way to do this? My guess is no?