Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my @matched = grep {! /^(\d)\1{9,}$/} $str =~ /\b(\d{10,})\b/g;
    
    print "@matched";
    
  2. or download this
    1234567890 48192049281924
    
  3. or download this
    use strict;
    use warnings;
    ...
        /gx;
    
    print "@matched";