You can use
-E
with sed
to enable enhanced regex and reduce the number of backslashes.