Skip to main content
1 of 2
user avatar
user avatar

Your avoidance of awk needs some rationale in the question, but anyways, here you go:

$ cut -d, -f2,5 file | egrep -wo '([0-9]{1,3}[.]){3}[0-9]{1,3}'
6.5.8.12
66.55.89.12
19.13.13.159
13.13.173.59
14.19.232.42
141.101.196.40
11.01.196.0
user313992