View Single Post
Old 02-13-2019, 11:49 AM   #10
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
It's a little awkward since it only seems to work with the word after the empty text cursor (insertion point)

I have to put the cursor before the word, Find and Replace. That's OK -- just counter-intuitive

It doesn't work for a selected phrase; it just Finds the single word after the selected phrase, and applies the Replace to just that word

I'm guessing that even RegEx has no way to 'read' what ever the selected text is, so that was where my thought process conops of using a 'marker'(e.g. _SELECTION_) which would use whatever the selected text is
Attached Thumbnails
Click image for larger version

Name:	BeforeFind1.JPG
Views:	207
Size:	163.9 KB
ID:	169680   Click image for larger version

Name:	AfterReplace1_BeforeFind2.JPG
Views:	199
Size:	152.8 KB
ID:	169681   Click image for larger version

Name:	AfterReplace2.JPG
Views:	188
Size:	158.4 KB
ID:	169682  
phossler is offline   Reply With Quote