@Juan_Esteban_Valencia give a try to do it with regex:
Patter: \d+
\d+
for Regex in UiPath have a look here: