I already knew sed‘s \1, \2, … , \n and recently discovered that it has a useful \U option to create uppercase. What other such useful ‘backslash options’ exist besides \U?
I have checked sed man page but found no reference to it there.
Quite possibly you want one of these fine GNU sed document sections: