Sum of integers in string, separated by non-numericals such as 'a' and 'Y' Create a program which sums all integers found in a string which is set as a variable in the program (thus, the program doesn't have to handle any input). The integer numbers are separated by non-numericals (anything but 0, 1, 2, 3, ..., 9).

Examples:


e7rde f  ,fe 43 jfj 54f4sD = 7+43+54+4=108
5 = 5
64 545,5445-32JIFk0ddk = 64+545+5445+32+0=6086
0ab0 = 0+0 = 0


Extra notes:


Unicode support is not necessary, but allowed
-n (where n is an integer) is not counted as a negative n, but as a hyphen followed by n.


The answer may be printed on the screen (but not required).

Shortest answer (in characters) win.
Ruby 1.9, 21 characters

eval a.scan(/\d+/)*?+


To print the solution to stdout, 2 additional characters are required:

p eval a.scan(/\d+/)*?+


And to read from stdin instead of using a predefined variable, another 3 characters have to be used:

p eval gets.scan(/\d+/)*?+


For Ruby 1.8, replace ?+ with "+" to get a working solution in 22 characters.