$scalar = "a1b2"; $scalar =~ s/\D//g; print "$scalar\n"; [download]
In reply to Re: Strip non-numeric by rbc in thread Strip non-numeric by FireBird34