MATLAB: Replacing “zero dates ” so as to be empty

cell

Dear all I have the following cell vector
'00/00/00'
'00/00/00'
'00/00/00'
'00/00/00'
'00/00/00'
'00/00/00'
'00/00/00'
'01/11/09'
'29/11/09'
'27/12/09'
I want to replace the zero dates so as to be empty, that is
' ’
' '
' '
' '
' '
' '
' '
'01/11/09'
'29/11/09'
'27/12/09'
Is there any way to do that?

Best Answer

If C is your cell array, then
C = regexprep(C,'00/00/00','')