Is it possible to extract specific texts from non-standard reports but all containing the same topic about "risk"?

I hope everyone is okay
Dear, I need to extract some texts from PDF, they would be reports about sox
In this case, each company creates a file with some different formatting but they all have topics about “risk” would it be possible to extract just this text? use some regular expression to collect the title and text about this specific topic?
Thanks

you could read in all the text from the pdf and then use regex to get the text after certain text or before certain text