Code:
$ cat file
field1,X.X.X.X,feild3,,,,,,,,,,field13
field1,X.X.X.X,feild3,,,,,,,,,,field13
field1,Y.Y.Y.Y,feild3,,,,,,,,,,,*
field1,X.X.X.X,feild3,,,,,,,,,,field13
field1,X.X.X.X,feild3,,,,,,,,,,field13
field1,X.X.X.X,feild3,,,,,,,,,,field13
field1,X.X.X.X,feild3,,,,,,,,,,field13
field1,X.X.X.X,feild3,,,,,,,,,,field13
field1,X.X.X.X,feild3,,,,,,,,,,field13