how can I replace first word of each line which starts with "w" & "b to "white" & "black" and the rest all that has "K" &