I am analyzing a text file filled with monologues and I would like to create a separate text file composed of monologues from a single character.
Here's an example:
PERSON A:
Hi
PERSON B:
Hello
My goal is to slice all monologues from Person A into a new text. I've been battling with this for hours but I have no clue. Any help?