Hi there. I’m new to creating bots and I just need dates in a format of dd/mm/yyyy out of texts. sample:
“Valid From: 02/02/2023” to just 02/02/2023
@Andi
Welcome to the forum
Quick and dirty:
Assign Activity:
strDate =
System.Text.RegularExpressions.Regex.Match(YourStringVar, "\b[\d\/]{10}\b").Value
we can adjust the pattern also
[CheatSheet] - System.Text.RegularExpressions | RegEx - News / Tutorials - UiPath Community Forum