I have a string here, This is a string: AAA123456789.
So the idea here is to extract the string AAA123456789 using regex.
I am incorporating this with X-Path.
Note: If there is a post to this, kindly lead me to it.
I think, by right, I should substring(myNode, [^AAA\d+{9}]),
I am not really sure bout the regex part.
The idea is to extract the string when met with “AAA” and only numbers but 9 consequent numbers only.
Pure XPath solution:
produces:
XPath 2.0 solutions:
or:
or: