Using Regex to extract dynamic numbers

Variables in selectors are used as input only. UiPath won’t modify it with the value it’s matching.

So go with your plan b. Get text and use Regex.Match() to get the number.

1 Like