in reply to Inserting numbers between parenthese matches in regexp
s/([a-m])([n-z])/${1}5$2/g; # ^^^^ [download]