Atlassian interview question

Identify IP addresses with regex