<p[^<>]*>\s*\d+\s*</p>
<p[^<>]*> - p tags, that may have class or other attributes (can confuse with other tags starting with p, but simple enough for books)
\s*- to collect whitespace if there is any present padding the digits
\d+ - collect one or more digit characters
|