in reply to Parse Log File for Date and string?
To tell the truth, I do not clearly see it as a regexp...
Maybe you are looking for something like this (it consumes any other characters in between, trying to match as little as possible, so not consuming your Ende):
my $regex = "$date.*?Ende";
|
|---|