_s.replacerx("(?m)^(\s*)Debug.Print (.+) & ([^\r\n])$", "$1_s.form($2, $3); out _s")
;or
_s.replacerx("(?m)^(\s*)Debug.Print (.+) & ([^[]])$", "$1_s.form($2, $3); out _s")
;or
_s.replacerx("(?m)^(\s*)Debug.Print (.+) & (.+?)$", "$1_s.form($2, $3); out _s")
In the times when regex was added to QM, in PCRE . matched any character except \n. Later PCRE added option "any character except \n or \r", which now used in LA.