Yes, that seems to work perfectly. Thank you.
In reply to Re^4: Substitution backreference woes by Anonymous Monk in thread Substitution backreference woes by Anonymous Monk