#MATL, 8 bytes
MATL, 8 bytes
1Y4XXXUs
1Y4 % predefined literal: '\d+'
XX % implicit input. Match regular expression. Returns a cell array of strings
% representing numbers
XU % convert each string to a double. Returns a numeric array
s % sum of numeric array