in reply to Re: Extracting a number from a string
in thread Extracting a number from a string
I think this might work#!/usr/bin/perl -w $_="Testing numbers 12"; print "Numbers: <$1>" if ( /(\d*)/ );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re3: Extracting a number from a string
by Hofmator (Curate) on Jan 12, 2003 at 19:02 UTC |