I want to extract the numbers enveloped in 't' tags. I have used the following commands in MATLAB:
str ='<t abc>1.3</t><t efg>32.3</t>';
[tokens] = regexpi(str, '<t.*>(\d*\.\d*)</t>', 'tokens');
celldisp(tokens)
The output only shows the last match 32.3. I'm not sure why regexpi is returning only the last match?