I am working with Visual-Studio 2010 and I need to read one text file line by line and compare each line to some set of rules (some of these depend of others).
The idea is: I am taking the configuration from almost 500 Cisco equipments (Routers, Switches, IPS, Firewalls) and compare the configurations with a set of rules depending on the Hardware and the purpose for each command.
How can I create a set of rules with variables such as "If Begin with" or "If end with" or "If contains" and so on but that I can add new rules WITHOUT modifying the source code (I don't know if I am clear) but having like a ListBox where I can add/delete/modify the rules, and one big script that can understand these rules?
Any help will be appreciated!
If you know of a script previously created that allows to "Create" a "Language" to compare text strings according a modifyble set of rules, it will be awesome!