\1, \2, and so on
\1
\2
\0 does not mean the whole capture, instead it denotes the null character.
\0
Back-references can be used inside the pattern and also inside the replacement.