PHP Taskbook Level 9.3

Задание 1

Given an array of words, get a random word from this array that starts with a given letter.

Задание 2

Let's say we have a date 22.02.2017. This date has 4 twos. Find all dates with 4 twos in the current century.

Задание 3

A file with some arbitrary layout is given, inside of which there are links of the following type:

page.html<div>
  text text text
  /
  text text text
  /
</div>

Read this file and send its text to the browser so that the links turn into a tags:

page.html<div>
  text text text
  <a href="/">/</a>
  text text text
  <a href="/">/</a>
</div>