参考
http://www.foxtable.com/webhelp/scr/1277.htm
去除【】的代码,参考
Dim str = "(3.5*3+2[外扩])*(8+2)*1.5=187.5"str = System.Text.RegularExpressions.Regex.replace(str, "\[.*\]", "")msgbox(str)