Commit 75e63949 by Licx

获取sheet编码正则匹配

parent 0f9af49f
...@@ -242,7 +242,7 @@ public static string NoBlank(this string @string) ...@@ -242,7 +242,7 @@ public static string NoBlank(this string @string)
public static string GetNo(this string @string) public static string GetNo(this string @string)
{ {
var match = Regex.Match(@string, "^(1.[0-9].[1-9])|(^[1-9]+.[1-9]+)"); var match = Regex.Match(@string, "^(1.[0-9]+.[1-9])|(^[1-9]+.[1-9]+)");
return match.Value; return match.Value;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment