Hello @Enrique.ts and welcome to the UiPath Community forums
Once you have folder name into a string variable:
app-20.10.1 21/10/2020
And you would like to obtain the date, you can use a “Matches” activity.
Pattern:
\d{2}/\d{2}/20\d{2}
Preview the result here on Regex101.com
The result will be an ienumerable and to convert to string use an assign activity:
MATCHESOUTPUTVARIABLE(0).tostring = string.variable
Update capital letters above with Matches activity “Result”.
If you want to learn Regex, check out my MegaPost for a tutorial, sample workflow and more.
Hopefully this helps