[Solved] Unable to split the string by the dates [duplicate]


This worked for me.

string[] split = Regex.Split(“SEND MILK EVERYDAY FOR THIS PERSON FROM 02/10/2014 TO 02/11/2014 SKIP 03/11/2014 AND 09/11/2014″, @”(?<=\b(?:0?[1-9]|[12][0-9]|3[01])/-[/-]\d{4}\b)\s*(?!\s*$)”);

solved Unable to split the string by the dates [duplicate]