Thread: Regex examples
View Single Post
Old 02-01-2013, 06:26 AM   #185
Doitsu
Wizard
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: 1,087
Karma: 2701341
Join Date: Dec 2010
Device: Kindle 3
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