Help for this page

Select Code to Download


  1. or download this
    perl -Mstrict -W -E 'say $1 if "hello 0 and 123 goodbye" =~ /(\d)+/;'
    0
    
  2. or download this
    $ perl -Mstrict -W -E 'say $1 if "hello and 123 goodbye" =~ /(\d)+/;'
    3
    
  3. or download this
    $ perl -Mstrict -W -E 'say $1 if "hello and 123 goodbye" =~ /(\d+)/;'
    123