一个简单的实例,mysql数据库 查询不是证件号码的数据 select * from test where zjhm not REGEXP '[0-9]{18}|[0-9]{17}X|[0-9]{15}'