Hi,
regular expressions aren't the important part in this example (only .* is used). Back referencing is the important part.
All between \( and \) in the search part can be represented as \1 in the replace part.
GNU Sed manual
Sed manual
Sed faq 3
Hope this is what you are looking for.