Jan 17, 2008, 6:56 AM
Post #1 of 2
change the word color using perl
i have one text file. i have to change the particular word color in red. i want to create a new file from the old file.
Example the file name is Demo.txt. the content of that text file.
" this is new file. this file is having some sample texts".
i want to change the word "file" in red color. the new_demo.txt should have it in red color.
like this, " this is new file. this file is having some sample texts".
could any body give sample script for this one?
thanks in advance!!!