System.Text.RegularExpressions.Regex reg1 = new System.Text.RegularExpressions.Regex(@"[/u4e00-/u9fa5]");
if (reg1.IsMatch(hz.Text))
{
hz.Text = "汉字";
}
else {
hz.Text = "hanzi";
}
System.Text.RegularExpressions.Regex reg1 = new System.Text.RegularExpressions.Regex(@"[/u4e00-/u9fa5]");
if (reg1.IsMatch(hz.Text))
{
hz.Text = "汉字";
}
else {
hz.Text = "hanzi";
}