如果是混合的话,最好是定义一个方法public bool str_lenght(string a){ bool res=false; if(a.lenght>=100) { res=false; } else { res=true; }return res;}
^[\u0000-\uffff]{0,100} $
string pattern=@".{,100}"