2016.12.02 mysql使用正则,查找字段里包含了data目录下的.php后缀的记录 select url,name from table1 where url regexp "data/(.*).php$";