You attached an input but still no expected output. Assuming you again want
to extract the IPV4 addresses, the sed substitution can be adapted (here with
the four fields separated by 1 to 5 characters, not necessarily always the
same):
s/[^0-9]*\([0-9]\{1,3\}\)[^0-9]\{1,5\}\([0-9]\{1,3\}\)[^0-9]\{1,5\}\([0-9]\{1,3\}\)[^0-9]\{1,5\}\([0-9]\{1,3\}\).*/\1.\2.\3.\4/
Some of the lines in IPv4-SourceList.txt do not contain IP addresses or may
contain addresses, which cannot be uniquely defined (is the address in
17715510250.tvnsul.com.br 177.155.10.250 or 177.155.102.50?).