View Single Post
Old 04-23-2023, 10:12 PM   #13
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by rkomar View Post
Can you not just search for two opening quotes without a closing quote between them?
Heh, yes, this will catch some of the punctuation errors.

2 LEFTs in a row:

Find: («[^»\r\n]*)«
  • <p>«Have you been here a long time Terry?» ... «About five days» he replied.</p>
  • <p>«Have you been here a long time Terry?» ... «About five days he replied.</p>
  • <p>«Have you been here a long time Terry? ... «About five days» he replied.</p>
  • <p>«Have you been here a long time Terry? ... «About five days he replied.</p>
  • <p>«Have you been here a long time Terry?« ... «About five days he replied.</p>
    • Wrongly flipped guillemet / OCR error.

So, if you want the pure regex method, you'd create a big ol' collection of "Saved Searches", going from the easy-to-catch stuff—like 2 LEFTs or 2 RIGHTs in a row—all the way down to the hardest-to-catch.

Last edited by Tex2002ans; 04-23-2023 at 10:22 PM.
Tex2002ans is offline   Reply With Quote