System.Text.RegularExpressions.MatchCollection matchCollection = System.Text.RegularExpressions.Regex.Matches(“[abc adf asdfe]”,@"\[(.*?)]",System.Text.RegularExpressions.RegexOptions.IgnoreCase); foreach (System.Text.RegularExpressions.Match match in matchCollection) { var value = match.Value.Replace(match.Value,""); }