Everpure Interview Question

Highly complex Regex regurgitation