Thread: Regex examples
View Single Post
Old 02-01-2013, 06:26 AM   #185
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,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by ditke View Post
How can I, in the Replace field in Sigil, refer to part of the search regex given in the Find field? For example, the text
"theAmerican" should be changed to "the American".
Use round brackets:

Find: ([a-z])([A-Z])
Replace: \1 \2

For more information search for backreferences.
Doitsu is offline   Reply With Quote