Report question

Question: How do you extract IP addresses from files using a regex in a linux shell?