textwrapre (pypi): Splits large texts into smaller ones that can't exceed a certain limit, but need to be split where a certain regular expression matches
Keywords: textwrap|text|wrap|regex