View Single Post
Old 02-07-2024, 10:43 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,944
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
That appears to be a PDF conversion remnant

REGEX is your buddy. There are tutorials here on MR.


<p class="something">
(88 of 243)20-2-2006 21:47:27</p>
(I added the rest of the paragraph in purple , to avoid possibility's of over cleaning)

Code:
<p class="\w+">\(\d+ of \d+\)\d\d-\d{1,2}-\d{4}\s\d\d\:\d\d:\d\d</p>
You may need to adjust the former purple part based upon what you see. Other adjustments based upon what you see. There is no single REGEX to rule them all. I keep basic patterns (as a template) like above, and adjust (and test), in saved searches.

\d is a digit, + allows multiplies. {#} is an exact quantity of them
\s is whitespace
I 'escaped' symbols to be safe \( \) as they can have meaning in a pattern
theducks is offline   Reply With Quote