Code:
MatchCollection a;
for (int i = 0; i < allParts.Count(); i++)
{
Regex regLet = new Regex("[a-z]");
MatchCollection matchLetters;
matchLetters = regLet.Matches(allParts[i]);
a[i] = matchLetters;
}
MatchCollection a;
for (int i = 0; i < allParts.Count(); i++)
{
Regex regLet = new Regex("[a-z]");
MatchCollection matchLetters;
matchLetters = regLet.Matches(allParts[i]);
a[i] = matchLetters;
}
Isko kao niz od nizova ili niz od ArrayList-a.