I had a simple problem today. I needed to validate some files, but all of the line breaks were missing. I was dealing with a fixed width format data. A quick regular expression later and I had readable data.
Here's a few examples to demo the idea.
Find (.{94})
Replace \1\n
Find (.{10})
Replace \1,
And if you can use negative lookahead, it's nice to avoid adding as last character if applicable
(.{10})(?!$)