Yep... much better... turned into function... Thank you Sir!
CODE:
;################################################################################
condenseLines(srcStr, targStr)
;################################################################################
{
; removes empty lines between similar entries
; mikeyww - https://www.autohotkey.com/boards/viewtopic.php?f=82&t=128176#p566115
n := '(\d{4}[^\t]+\t' targStr ')[^\v]*\R\K\R+(?=(?1))'
return RegExReplace(srcStr, n)
}
Statistics: Posted by andymbody — 44 minutes ago