Menu
Hello all, here’s one for you.
I have a very large quantity of text that was converted to HTML. Nothing fancy, no CSS, just tags added here and there (italics, bold, paragraphs) for formatting.
I want to split these large text quantities into smaller individual files to display one at a time, much like pages of a book.
However, does anyone know a good way to parse out so I don’t split words or leave tags hanging open?
Just curious, I can live with plain text, but I’d love to not have to convert all of this and loose formatting.
Oh and alternate languages are fine, I just use PHP a lot so I was hoping to find an answer here.