正则表达式过滤html中的on***怎么写?
原来的写法,从网上找的 
 System.Text.RegularExpressions.Regex   regex3   =   new   System.Text.RegularExpressions.Regex(@ "   on[\s\S]*= ",   System.Text.RegularExpressions.RegexOptions.IgnoreCase);   
 但是今天发现问题了   如果我输入一段英语   比如   on   the   table   **** <a   href= " ">  </a> 等等,它直接就从on开始到最后一个有“=”的地方,请问在标签中的on***的过滤怎么写?
------解决方案--------------------Regex regex3 = new Regex(@ "on\S+= ", RegexOptions.IgnoreCase); 
------解决方案--------------------Regex regex3 = new Regex(@ "on\S+\s*= ", RegexOptions.IgnoreCase);
------解决方案--------------------顶 
------解决方案--------------------搂住结分呀