Zoo tutorials: [ SQL | Linux | XML ]
ProgZoo: [ Java | C# | VB | C++ | Perl ]
Log in

A Gentle Introduction to
VB Programming

Tutorial: Pattern matching

 

These questions use the simple text file greeks.txt - this file includes around three hundred characters from Greek legends.

You may want to review the following:

1. Gaea


Big

2. Icarus


Big

Icarus perished because he flew too close to the sun on wings fixed with wax.

Icarus is one of several names containing the string "ca".

Print the names matching the pattern ".*ca.*"

3. Scrabble favourites


Big

Print the names that include Q or Z or q or z

4. Styx


Big

The river Styx gave Achilles his near invincibilty.

The word contains no vowels (aeiou).

Print the names that are a sequence of non-vowels.

5. Bellerophon


Big

Bellerphon defeated the Chimera with the help of the winged horse Pegasus.

The name Bellerphon includes a double letter "ll".

Print names that include consecutive double letters.