View Single Post
Old 09-30-2020, 12:55 PM   #1
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,360
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Keyboard Shortcut in Regex?

I'm still trying to figure out a way to convert text to Title Case without having to manually select the text each time....short of writing a plugin to include formulaic regex like Calibre uses.

I have TitleCase assigned as a keyboard shortcut (Ctrl+Space) and wondered if there was a way to use that shortcut in the 'replace' section of the regex...resulting in something like:

find: (?<=\<h2\>)(.*?)(?=\</h2\>)
replace: Ctrl+Space
Turtle91 is offline   Reply With Quote