Exercise 21.1
------------
Write a regular expression that looks for the following words in a phrase and displays a message to say if any of the phrases exist in the string.

cow
pig
horse

matches found
cow

Exercise 21.2
------------

Write a regular expression that counts the number of words in a phrase.

Number of works : 3

Exercise 21.3
------------

Divide a sentence into words. php
regular
expressions