tourcd
IS-IT--Management
- Dec 5, 2005
- 37
I've been asked to write a script that will parse a text file which holds licensing information. I need to strip out the numeric values and write them to an SQL database.
I have only very basic scripting knowledge and I'm having a couple of problems, the first being getting the numbers out as they could be any length, the second writing the results to an SQL database.
I'd be really grateful if someone could offer any pointers.
--------------------
Line1
Line2
Line3
Active Licenses: 123
Unused Licenses: 456
Total: 0
I have only very basic scripting knowledge and I'm having a couple of problems, the first being getting the numbers out as they could be any length, the second writing the results to an SQL database.
I'd be really grateful if someone could offer any pointers.
--------------------
Line1
Line2
Line3
Active Licenses: 123
Unused Licenses: 456
Total: 0