Goldman Sachs Interview Question

Extracting IP addresses from a log