Output: Got ."ATDT123456 BUSY #### print if /ATDT\d+\nBUSY/m;