The metasymbol, \d : metasymbols « Regular Expression « Perl






The metasymbol, \d

    

while(<DATA>){
    print if /6\d\d/
}
__DATA__
    101
    201
    301
    401
    501
    601

   
    
    
    
  








Related examples in the same category

1.The word metasymbols
2.Using Special-Meaning Characters
3.Metasymbols and subpatterns