0
Q:

ruby extract number from string

a.map {|x| x[/\d+/]}
0

New to Communities?

Join the community