Thread: Regex examples
View Single Post
Old 08-18-2022, 10:11 PM   #728
CubGeek
Connoisseur
CubGeek began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Sep 2021
Location: Upstate NY, USA
Device: iPad Pro, Kindle basic
Quote:
Originally Posted by Turtle91 View Post
That's pretty advanced stuff!

I go pretty easy...and it seems to work so far...

find: <i>(.*?)</i>
replace: <em>\1</em>

or

find: <span class="italics>(.*?)</span>
replace: <em>\1</em>


etc.
Oh, that's much simpler. Thank you! Since the stuff I'm working on has a combination of <i> for "inside voice," and "named things" as well as <em> for word emphasis, this certainly has been a learning experience!
CubGeek is offline   Reply With Quote