in reply to Re^2: only print data ie between two lines
in thread only print data ie between two lines

My mistake:

/?:(Prepared to Send OK|Sending I +nvalid credential)/
should be
/(?:Prepared to Send OK|Sending I +nvalid credential)/

citromatik