'index.html' =~ /\.html?/; # matches '.html' '<bob@gmail.com>' =~ /\w+/; # matches 'bob' 'Up to 50% off' =~ /\d+/; # matches '50' 'Space 1999' =~ /\w\d*/; # matches 'S' 'hippopotamus' =~ /p.p/; # matches 'pop' 'disgruntled' =~ /g.*/; # matches 'gruntled' 'in a tight spot' =~ /\w{3,4}/; # matches 'tigh'