Change format of a particular string in a text file

I have created a sequence which will open an excel sheet, select particular columns and writes into a text file. After this, i want to change the font, size, etc of a text or the nth string of every line in this file.