using System; using System.Text.RegularExpressions; using System.Linq; using System.Collections.Generic; public class Test { public static void Main() { var list = new List() {"The quick brown [fox] jumps over the lazy dog]", "The quick brown [fox] jumps over the lazy [dog]", "The quick brown [fox jumps over the lazy [dog]"}; list.ForEach(m => Console.WriteLine("\nMatch: " + Regex.Match(m, @"\[([^][]*)]").Value + "\nGroup 1: " + Regex.Match(m, @"\[([^][]*)]").Groups[1].Value)); } }