in reply to Logfile parsing (Moved from Q&A)
If you need to get the full line that contains that specific page, including all the information you should be able to use this.$s =~ s/.*\+(\d+)\s.*/$1/;
Notice that I save the id# in $1 if you need that for further processing.print $s if $s =~ /^.*GET\s\/company\/newsletter\.html\?id\+(\d+)\s.*$ +/;
|
|---|