Use regular expressions to find sequences in the database