http://www.perlmonks.org?node_id=1005642


in reply to Take digits from a string

Tutorials
perldoc perlretut
and company.

Self-help is highly encouraged here!