Hi Eily, I have read the reply of ww, but I don't understand what he means. I have applied the suggestions and I have modified my code but I can not see an answer to my question in my previous topic. As I have said, I have little experience with perl, but I have read about Regex and I thought, that this forum is a place where I can get help.
But now I have the impession to be blamed for my questions. I am german and may be I don't understand every nuance of your replies. And I have never posted on the internet before, so it is possible that I did something wrong, but I think it would be polite to tell me what was wrong with my second question. For me there was a new problem, because the code worked with the first test-inputfile but not with the second one. I would appreciate an answer to this reply.