Replace any three consecutive alphanumeric characters or underscores followed by a non-word character and a sequence of up to seven digits or asterisks with "Dv" followed by the same sequence.
sed -i -E 's/[[:upper:]*a-zA-Z_]{3}\W([[:digit:]\*]{0,7}|[*]+)/Dv\10/g'