im sorry of i didnt read the faq before posting, i was under the impression that this was a help and information sharing site, and this is the kind of help i need. ive gone through a few tutorials, and i do know how to open files, write to files, ifs, fors, regexes etc. What im having trouble with is putting it all together to do exactly what i need. I will eventually get it done on my own but having an example to use as a backbone might speed things up for me. sorry if i offended your awesomeness by asking something.