#!/bin/bash
s='ap=test:::bc=exam:::dc=comic:::mp=calc:::'
sed 's/:::bc=[^:]*//' <<< "$s"