Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    if ($body_text=~m/(\d{1,2})(?=\smins|\sminutes)/g) {
        print "2nd try: " . $1 . "\n";
    }
    
  2. or download this
    1st try: 5
    2nd try: 6