How can I match *subject* via a PHP preg\_match() regular expression pattern in this HTML code:

```
      <table border=0>
  <tr>
  <td>

  <h2>subject</h2>

    </td>

```

All the whitespaces and newlines are left on purpose. So the problem is in extracting subject name using some multiple line pattern.