string patten = "(\[[^\]]*\])";
Regex reg = new Regex(patten);
MatchCollection matches=reg.Matches(t);
foreach (Match match in matches)
{
Response.Write(match.Value);
}
string patten = "(\[[^\]]*\])";
Regex reg = new Regex(patten);
MatchCollection matches=reg.Matches(t);
foreach (Match match in matches)
{
Response.Write(match.Value);
}