helmet cleaning

how to wash the removable part of the crash helmet?
should I put them in the washing machine?

many thanks
EM

i usually just wash them by hand…