MATLAB: Exclude Digits from String using Regexp in MATLAB

regexpstring

Need to exclude Numbers from String and returns cell arrays of strings in MATLAB
e.g str = 'abc76.5_pol0.00_Ev0.3'
output {'abc','pol','Ev'}

Best Answer

regexp(str,'[^\d_\.]*','match')
or
regexp(str,'[a-zA-Z]*','match')