如何使用<代码>Regex
String Str="11111111";
if(Str.Contains("0"))
MessageBox.Show("Not matching");
else
MessageBox.Show("Matching");
这一模式是否正确?
Mathc mh=rx.Match(Str);
if(mh.Success==false)
MessageBox.Show("Not matching");
else
MessageBox.Show("Matching");
But its not working. My string Str
does not have 0
but its showing mh.Success=true
请帮助我