Lozzer1962 - 2012-07-31

Hi, please excuse my ignorance, but I have been searching for a text editor for a while which can highlight certain fields which conform to specific rules and was hoping that Notepad++ could do the trick.

They are all comma separated files, each line beginning with either a number or a command. I have read through the Help documentation and tried to edit one of the XML file examples posted by someone else, but I cannot get it to do what I want (I am not a programmer myself, so this is probably the issue). Can anyone please point me in the right direction.

A couple of examples of the type of data are below…

5, 9, 272.12.50, 89.10.20, 9.5630, 1.491, F2, GT

(I want to identify those lines which begin with specific numbers and highlight the entire line up to but not including the data in fields 7 and beyond)

5, 16, 9.13.25, 91.57.05, 67.5940, 1.491, .C, -SI0.05/0.15

(as above, but I want it to highlight in a different colour everything including and after ‘-SI’. I have about forty of these sets of characters -SO -NLP -SI etc)

CONTOURS, 0.1, 2.013,1,1, 0.5, 4.035,1,1, 0.5, 0.125, 5.0, 2.0, 0.5, 0.01, 5.013, 5.035
GRID, CROSS, 50.00, 7.01, 0.2, INCREAS, 1.0, 1.0

(There are several of these types of record, each beginning with a word and followed by a series of comma separated fields)

I hope that I have asked the right question and that someone out there will be kind enough to help.

Thank you.