hello everyone i have one requirement
from Date column i want to pick only dates and string will be neglected
thanks in advance
hello everyone i have one requirement
from Date column i want to pick only dates and string will be neglected
thanks in advance
→ Use the Read range workbook activity to read the excel and store in a datatable called dt_Input.
→ Then take an assign activity, and you can use LINQ Expression,
- Assign -> dt_Output = (From row In dt_Input.AsEnumerable()
Where System.Text.RegularExpressions.Regex.IsMatch(row("Date").ToString(), "\d+/\d+/\d+")
Select row).CopyToDataTable()
→ Then use the Write range workbook activity to write the dt_Output to excel.
Hope it helps!!
@mkankatala
Thanks for your help
It’s my pleasure… @dheerandra.vishwakarma
Happy Automation!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.