Hello,
I have some files with extensions *.0* and the text in these files is like:
2008/02/25-15:10:07.734427-06387-00001-0x0603010000040001-006 | experimental_result="(PARAMETER NOT SET)"
2008/02/25-15:10:07.734427-06387-00001-0x0603010000040001-006 | result_code="2001 (RESULT_CODE_DIAMETER_SUCCESS)"
In every line after 32 characters the text will be -0000x- where x-is 1/2/3/4/5 depending on these values I have to change the line colour.
For example if one line has -00001- then that line should be in red colour.
if one line has -00002- then that line should be in blue colour.
Can you please help me how to do this?
Tanks a lot in advance!
Thanks & Regards,
Venkat
How to hilight particular text in a file
Moderators: AmigoJack, bbadmin, helios, MudGuard
-
bveldkamp