use regex to match the table prefix, and use the date to match suffix
use regex to match the table prefix, and use the date to match suffix