On Tue, Jun 28, 2011 at 12:17 PM, Amaninder Singh <asingh0...@gmail.com> wrote: > Hi Guys, > I am fairly new to the language and programing. I am trying to solve a > problem in a text file. Where names are something like in this manner > [**Name2 (NI) 98**] > > [**Last Name (STitle) 97**] > [**First Name4 (NamePattern1) 93**] > [**Last Name (NamePattern1) 94**] > ([**Name (NI) 95**]) > [**Last Name (un) 96**] > I am trying to change these with random names.
The problem (particularly the exact meaning of your input file format) isn't quite clear. Sample output would be useful to those trying to help you. Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list