The problem is that you only match
p
-tags containing
Chapter
followed by some spaces,
without the number. Try this instead:
<p class="StyleA">Chapter +\d+</p>
Also, it's not necessary to put the space into a character class.
If you don't only want to match spaces, but
all whitespace, then replace the space with
\s
<p class="StyleA">Chapter\s+\d+</p>