MATLAB: Remove cells that contain only two or one character

regexp

I have a variable that contain large cell arrays of strings but some of the cells contains strings that are meaningless such asç
xx = {'animal','a','aa','bc','dog','car','computer','screen','zx','tt','c','pen','ss'}
I would like to use regexp but I couldnt find appropriate expression to match two or single character.
Any sugguestion is highly appreciated.
Sami

Best Answer

len = length(xx)
cnt = 1;
for i = 1:len
str = char(xx(cnt))
if(length(str)==1 || length(str)==2)
xx(cnt) = [];
len = length(xx);
else
cnt= cnt+1;
end
end