Regex to multiple dates

Hi

Welcome to UiPath forum

U can use this expression in a assign activity like this to get all the matches

date_matches = System.Text.RegularExpressions.Regex.Matches(“input string”, “\d{1,2}.\d{1,2}.\d{4}”)

If u want them as array then u can use this

arr_matches = date_matches.Select(function(x) x.value).ToArray

If u want them as one string with a conman between each date value

stroutput = String.Join(“,”,date_matches.Select(function(x) x.value).ToArray)

To know more about Regex refer this post

Hope this helps

Cheers @Pradeep_Kalyan