How to get a word that is four words before a unique sequence
I want to be able to parse out this word from a string of text.
<li><b>Paperback:</b> 176 pages</li>
The only unique identifier is "pages</li>"
I want to parse out the word "paperback" which I hope would be four words before this at all times.