how to block using only part of MAC ADDRESS

for example i want to block all users which mac address contains “00:0C:29”

can mt do it?