Sunday, September 12, 2010

Regular expression homework

Write regular expressions in Microsoft Word for each of these things
1) Find all three-letter words, which have a vowel as the middle letter.
2) Find all three-letter palindromes
3) Find all four letter words which begin with the letter K
4) Transform active voice to passive voice. That is, find sentences such as:
Jim kissed Pam.
and replace it with
Pam was kissed by Jim.
For this last one, what goes in the find what box, and what goes in the replace with box?

No comments:

Post a Comment