How to split text file by 5000 characters?
And copy the 1st 5000 characters, then copy the 2nd 5000 characters?
When split the text file, need to finish the last period (.)
So that a full sentence is not broken.
your questions are from total beginner to total advanced , very messy, if you do not know how to take simple regex, maybe you can read first wiki and tutorials . And manipulation with text, you can check javascript or regex options about it .
Should it be 5000 to 1? If I want to select the 1st to 5000 characters?
How to preserve a whole sentence?
Example: if a sentence is crossing the 5000th character limit, don't break that sentence but take from the previous full stop?
Should it be 5000 to 1? If I want to select the 1st to 5000 characters?
How to preserve a whole sentence?
Example: if a sentence is crossing the 5000th character limit, don't break that sentence but take from the previous full stop?