I have a string based on some text I have extracted and a list of keywords. I woud like to run through the string and extract only the sentence after the sentence where the keyword is found and remove the full stop too.
'Test string. removing data. keyword extraction. data number. 11123. final answer.'
Here is my list of key phrases:
lst= ['Test string', 'data number']
['removing data', '11123']
Please could someone help me out/ point in the right direction? Thanks