https://codejiaonang.com/#/course/regex_chapter1/1/6 1.字符组 /[Pp]ython/g 用于匹配Python或者python 2.区间 /[a-z]/g 匹配含有小写字母的 /[0-9]/g 匹配含有数字的 3.特殊字符 /[0-9-]/g 匹配含有数字或者含有‘-’的 4.取反 /[^a]/ 匹配不含字母a的 /[^A-Za-z\d]/ 匹配非数字和字母的符号