Я новичок во всем этом. Я использую регулярное выражение для извлечения данных из HTML, которое содержит:
<p class="bold"> Last Statement:</p>
<p>Yes sir. I would like to thank God, my dad, my Lord Jesus savior for saving me and changing my life. I want to apologize to my in-laws for causing all this emotional pain. I love y’all and consider y’all my sisters I never had. I want to thank you for forgiving me. Thank you warden. </p>
Я пытаюсь извлечь текст, используя
word = re.findall('Last Statement:</p>.*<p>(.+)</p>', x)
Но это дает мне пустой список. Как я могу это отладить?