Thread: Move text/code
View Single Post
Old 08-31-2025, 04:02 PM   #3
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,368
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
***DOH! Ninja'd again!***

Use a find/replace. Something like this:

Find:
<p class="flushleft"><span class="gray">(.)(.*?)</span>

Replace:
<p class="flushleft"><span class="gray">\1</span>\2


Although that doesn't separate out lines that begin with quotes. For that you could do something like:

Find:
<p class="flushleft"><span class="gray">(\p{P}*?)(.)(.*?)</span>

Replace:
<p class="flushleft">\1<span class="gray">\2</span>\3

Last edited by Turtle91; 08-31-2025 at 04:10 PM.
Turtle91 is offline   Reply With Quote