Get the numbers in a string

Hello everyone, I want to obtain the number of a file that appears in a pop-up window, the chain is the following
File number 000000000001230 was created
I tried a split but sometimes I get a different warning
Registered number 00000000001230

How can I get the numbers?

@Juan_Esteban_Valencia
give a try to do it with regex:
grafik

Patter: \d+

for Regex in UiPath have a look here:

1 Like