View Single Post
Old 03-24-2016, 12:13 PM   #20
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by fbrzvnrnd View Post
Using the example:



It is easy to use the begin paragraph/uppercase to find all the dialogs jumping away from the 'ell.
I can try to catch all the text in straight quotes beginning with a lowercase. If there is a good % of results I can build a better Regex looking around: space before, punctuation/start of paragraph before, uppercase et ceterae.

I do not wanna say I can make a 100% find/replace work with regex, but I can reach a 99% leaving some manual working here and there.
I hate to burst your bubble, but you can't. Not 99% by a long shot. For regular documents it can be automated, but the examples here will mess things up. They don't follow the rules, after all they could be start of a normal sentence. And, even if you could catch some cases, when another language is used the rules will differ.
Toxaris is offline   Reply With Quote