Remove dynamic mac address

I need a script to remove dynamic mac address from the registration list, anyone can help me.

This should get you started. But I can not think of any practical application for it.

:foreach i in=[/ip arp find dynamic] do={
:local MAC [/ip arp get $i mac-address]
:log info “removing entry $i with MAC of $MAC”
/ip arp remove $i
}

i mean remove it from the registration list, cause iam using rb333 and want to remove the dynamyc mac address