in reply to Re: How can i extract a number from an stringin thread How can i extract a number from an string
$ perl -wE 'say +(split/([0-9]+)/,"BS123-bleble")[1]' 123 [download]