Extract substring matching a regular expression
I would like to extract all IP addresses from a html file and assign them to an variable for further processsing.
The lines in file look like this:
I don't know how to use the regular expression together with sed or awk to work properly. I only found examples for string replacing but not for extracting.
Thanks very much.