Dim pattern As String = "(?<=\\(|().*?(?=\\)|))" \'匹配括号中的内容
Dim txt = "【我的中国梦主题】 (076927学校代码)"
Dim rgx = New System.Text.RegularExpressions.Regex(pattern, System.Text.RegularExpressions.RegexOptions.IgnoreCase)
For Each match As System.Text.RegularExpressions.Match In rgx.Matches(txt)
Dim str = System.Text.RegularExpressions.Regex.Replace(match.Value , "[^\\d+]" , "")
Output.Show(str)
Next