Help for this page

Select Code to Download


  1. or download this
    ___DATA___
    #Pattern 1 - aaa <anything> bbb <anything> ccc <whitespaces> dddd
    ...
        xx
    ccc
    dddd
    
  2. or download this
    print  $#{[$lines =~ /aaa.*bbb.*ccc\s*dddd/gsi]} + 1 . "\n";