public class CheckPassword { //数字 public static final String REG_NUMBER = ".*\\d+.*"; //小写字母 public static final String REG_UPPERCASE = ".*[A-Z]+.*"; //大写字母 public static final String REG_LOWERCASE = ".*[a-z]+.*"; //特殊符号 publ
以下为本次实践代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace ConsoleTest { class Program { static void Main(string[] arg
//随机验证码,有数字.字符 //生成随机数,然后再截取,还要限定随机数的范围 String zimu = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890" ; Random rm = new Random(); //生成随机数 int a = rm.nextInt(61); //0到61之间的随机数赋值给a int b = rm.nextInt(61); int c = rm.nextInt(61); i
--模拟数据 SELECT * INTO #temp FROM ( SELECT 1 AS id, 'C101' AS sort UNION ALL SELECT 2 AS id, 'B101' AS sort UNION ALL SELECT 3 AS id, '101' UNION ALL SELECT 4 AS id, '1101' UNION ALL SELECT 5 AS id, '201' UNION ALL SELECT 6 AS id, '风' UNION ALL SELECT