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