1. 查询是以http开头的 select * from tt_archives where thumb REGEXP '^http://'

  2. 查询不是以http开头的 select * from tt_archives where thumb not REGEXP '^http://'

  3. update tt_archives set thumb = replace(thumb,"//","http://") where thumb not REGEXP '^http://';

  4. 不是以数字开头:select * from mot_terms where `name` not REGEXP '^[0-9]' 

  5. 不是以字母开头的:select * from mot_terms where `name` not REGEXP '^[a-zA-Z]' 

  6. 数字和特殊字符开头:select * from mot_terms where `name` REGEXP '^[@#$%&0-9]'