ActiveCampaign Interview Question

Asked to come up with a regex based on criteria, database joins, HttpPost