I don't know any Java but I think it would be best for this small project. All I need a a program that can reformat the following example address:
Ben Brown
10 The Green
Norwich
Norfolk
NR1 1PQ
into Ben Brown, 10 The Green, Norwich, Norfolk, NR1 1PQ. Any help is greatly appreciated.