例子:
string str = "测试";
string reg = @"^[u4e00-u9fa5]*$";
Match match = Regex.Match(str,reg);
if (match.Success)
{
Console.WriteLine("输入正确!");
}
else
{
Console.WriteLine("输入有误!");
}