I have the following regex https://regex101.com/r/6orbpa/1
^ho..ital\s+(?:(?:\b[a-zA-Z_']+\b)[ ]*){1,5}$
it extracts any senetence that starts with the word hospital OR hopital and only includes the sentence if it has up to 5 words to the right.
How do I modify the the regex to make it work from when the words ENDS in hospital OR hopital and includes up to 5 words to the left?