This class can be used to apply regular expressions from a MySQL database.