View Single Post
Old 12-27-2009, 05:17 PM   #10
moz
Addict
moz once ate a cherry pie in a record 7 seconds.moz once ate a cherry pie in a record 7 seconds.moz once ate a cherry pie in a record 7 seconds.moz once ate a cherry pie in a record 7 seconds.moz once ate a cherry pie in a record 7 seconds.moz once ate a cherry pie in a record 7 seconds.moz once ate a cherry pie in a record 7 seconds.moz once ate a cherry pie in a record 7 seconds.moz once ate a cherry pie in a record 7 seconds.moz once ate a cherry pie in a record 7 seconds.moz once ate a cherry pie in a record 7 seconds.
 
moz's Avatar
 
Posts: 370
Karma: 1553
Join Date: Feb 2008
Location: Melbun
Device: Kobo H2O
q: can I use regular expressions in the replacement text?

Similar functionality to other editors - is there a way to mark part of the "find" expression and use it in the replace expression. For example find "The Book, Chapter [0-9]+:[^\n]+" and replace with "<h2>Chapter ...</h2>" where the "..." is the rest of the matched expression.

(thanks for the quick answers, btw, much appreciated)
moz is offline