How would one write a regular expression to use in python to split paragraphs?
A paragraph is defined by 2 linebreaks (\\n). But one can have any amount of spaces/ta
FYI: I just wrote 2 solutions for this type of problem in another thread. First using regular expressions as requested here, and second using a state machine approach which streams through the input one line at a time:
https://stackoverflow.com/a/64863601/5201675