echo 1b22a3d3c | perl -ne'if(/a/&&/b/&&/c/&&/d/){print"Match!\n";}'