regular expression : I want regular expression for below code can anyone help greatly appreciated

abc-def-smdp-01

Here i want to match all hypen and smdp i want ignore abc and def and 01 can anyone help

like this --smdp-