You can probably use:
$ egrep -o "([0-9]{1,}\.)+[0-9]{1,}" file
11.2.0.4.1
([0-9]{1,}\.)+
matches at least one block of[0-9]{1,}
and a dot.
.[0-9]{1,}
matches a block of[0-9]
.
So this will match any block of XX.YY
, being XX
any amount of blocks of ZZ.KK.TT.
and so on.