Hello,
I have this Excel column as shown below. I need to extract only the date found at the end of it and paste it into a new column next to it:
Can someone help me please?
thanks!
UIPath_Excel_Scratch (1).xlsx (131.9 KB)
Hello,
I have this Excel column as shown below. I need to extract only the date found at the end of it and paste it into a new column next to it:
Can someone help me please?
thanks!
UIPath_Excel_Scratch (1).xlsx (131.9 KB)
Please try this Main.xaml (9.2 KB)
In Invoke Code
dt1.AsEnumerable().ToList().foreach(sub(row) row(“Date”) = System.Text.RegularExpressions.Regex.Matches(row(“INV Date / BL Date”).ToString,“\d{1,2}/\d{1,2}/\d{1,4}”,RegexOptions.RightToLeft)(0))
Pass you datatable as in/out argument
Use write range to check if values are correct
Thanks
Simply Use Split(Split(readtext,“;”)(1).ToString," / ")(1).ToString.Trim
Note the two spaces around the / in [" / ")(1)]
That should give you the date
Thanks everyone for the help!
Thanks for the help
Hi @prasath_S ,
Can you help in this one please?
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.