private string SmallGroups(string code, EmailQueueTo emailqueueto)
{
var match = subGroupsRe.Match(code);
if (!match.Success || !emailqueueto.OrgId.HasValue)
return code;
var prefix = match.Groups["prefix"].Value;
var q = from mm in db.OrgMemMemTags
where mm.OrgId == emailqueueto.OrgId
where mm.PeopleId == emailqueueto.PeopleId
where mm.MemberTag.Name.StartsWith(prefix) || prefix == null || prefix == ""
orderby mm.MemberTag.Name
select mm.MemberTag.Name.Substring(prefix.Length);
return string.Join("<br/>\n", q);
}