Help for this page

Select Code to Download


  1. or download this
    $ echo 1b22a3d3c | egrep -o 'a|b|c|d'
    b
    a
    d
    c
    
  2. or download this
    echo 1b22a3d3c | perl -ne'if(/a/&&/b/&&/c/&&/d/){print"Match!\n";}'
    
  3. or download this
    use strict;
    use warnings;
    ...
            }
            return $regex;
    }