mysql> SHOW TABLES like \'cms\'; +-------------------------+ | Tables_in_tianyan (cms) | +-------------------------+ | cms | +------------------------
You can just use a normal SQL WHERE statement to do it.
WHERE
SHOW TABLES WHERE Tables_in_tianyan LIKE '%cms%'