@sarathi125 Parthasarathi I see you have shared solution using LINQ
Dim oddCategories = projectsByCat.Where(Function(cat, index) index Mod 2 = 0)
Dim evenCategories = projectsByCat.Where(Function(cat, index) index Mod 2 <> 0)
same thing can I use to get the date or maximum date ?
@Sakshi_Jain ,
If you are looking for Regex to match maximum number of date patterns then check the below link. You can see lots of date format regex patterns in that and you can use a | (pipe symbol) to use all those formats in a single Regex Match.
If you need to get the second highest date then first you need to convert all the dates to a particular format and you can identify using the similar query which you have referenced from my other post.
Dim oddCategories = projectsByCat.Where(Function(cat, index) index Mod 2 = 0)
Dim evenCategories = projectsByCat.Where(Function(cat, index) index Mod 2 <> 0)
same thing can I use to get the date or maximum date ?