Thread: Regex examples
View Single Post
Old 01-18-2021, 06:09 AM   #684
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,746
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Skydancer View Post
I tried this, but it doesn't work in Sigil:
Code:
Find: <p class="tibTrans">(.*?)<\/p>
Code:
Replace: <p class="tibTrans">\L$1<\/p>
Sigil uses the PCRE regex library; you'll need to use backslashes for backreferences.

Code:
Replace: <p class="tibTrans">\L\1<\/p>
Doitsu is offline   Reply With Quote