[Israel.pm] numbers extract

Yuval Yaari yuval at windax.com
Thu Jun 8 01:41:43 PDT 2006


Ernst, Yehuda wrote:
> i want to extract the XXXXX into an array 
>   
I totally missed the "into an array" part, sorry.
So it's even easier:
my @array = $file =~ m/(?<==)(\d+)/g;

HTH,

  ~Y



More information about the Perl mailing list