Sample data: !!Part|123456,ABCDEF,ABC132!!
The comma delimited list can be any number of any combination of alphas and numbers
I want a regex to match the entri
Unless I'm mistaken, that still only counts as one group. I'm guessing you'll need to do a string.Split(',') to do what you want? Indeed, it looks a lot simpler to not bother with regex at all here... Depending on the data, how about:
if (tag.StartsWith("!!Part|") && tag.EndsWith("!!"))
{
tag = tag.Substring(7, tag.Length - 9);
string[] data = tag.Split(',');
}