The dot metacharacter : Metacharacters « Regular Expression « Perl






The dot metacharacter

    
while(<DATA>){
     print "Found Norma!\n" if /N..ma/;
}
__DATA__
    Tom 101
    Mary 201
    Jason 301
    Norma 401
    Jack 501
    Kate 601

   
    
    
    
  








Related examples in the same category

1.Meta-Character ASCII Values
2.Meta-Characters listing
3.Metacharacters and metasymbols
4.Metacharacters for Single Characters
5.Metacharacters that Turn off Greediness
6..* special-character combination tries to match as much as possible
7.The dot metacharacter and the zero or more quantifier
8.Some Regular Expression Metacharacters