正则表达式 查找{[a-zA-Z0-9_]+} 替换成字符串属性 #region \1\n private string _\1 = "";\n public string \1\n {\n get \n {\n return _\1;\n }\n set \n {\n _\1 = value;\n }\n }\n #endregion\n\n
正则表达式 查找{[a-zA-Z0-9]+}:b+{[a-zA-Z0-9]+}生成指定类型的属性 #region \1\n private \2 _\1 = "";\n public \2 \1\n {\n get \n {\n return _\1;\n }\n set \n {\n _\1 = value;\n }\n }\n #endregion\n\n
正则表达式 查找{[0-9\.]+}:b+{[a-zA-Z0-9]+} 生成插入语句SQL //\1 \2\n #region\n\n public static readonly string SQL_\2_Insert = @"\n\n--\1 \2\ninsert into \2 () values()\n\n";\n\n #endregion