if (/^Info I want/../^Start of Info/) { unless ( /^Start of Info/ ) { print; } }