I would like someone to write a program to parse out a contact list that is in an html table into a CSV for importing into other programs like Microsoft Word. I would like to load an html page into the program you write and be able to set a path that your output file would write to.
I have attached an example of the html table and cells to be parsed and wrote to the file. It will not be a valid html page containing all the html and header tags but the first tag in the .txt will be a <tr> tage. Have your program look for the first <tr> in the page and start working to parse. The cells are as such: Username, password, balance, Name/Address, Contact Info, Attributes.
The cells Name/Address and Contact Info has info I would like parsed into separate fields. For Example Name/Address contents parsed into First Name, Last Name, Address, State, Zip Code. Contact Info cell parse into Phone Number and Email.
Lastly the Attributes cell, if any checkbox=true(or checked) then ignore and skip this user. Don't write these down to the CSV file.
This list of contacts will be continually growing each time I do this so continue the program until EOF end of the .txt file.