Thanks for the quick replies!
Originally Posted by matthewg42
Not sure what you mean. Can you provide an example input which, when matched against the RE should extract #5 in your list?
Actually the example I gave is what the input file looks like:
The lengths of the strings will vary from 10 to 150 alphabetic characters.
makyo: You are correct, the script should return strings 5 and 6 as unique. I'll give the index function a try. Thanks.