View Single Post
Old 11-22-2023, 10:15 AM   #34
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,166
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Beathan View Post
For regex I used:

F: [a-zA-Z]-[a-zA-Z]
R:
but can not manage the Replace string
( ) are the capture zones, so surround each zone with ( ) like did earlier (you can include literals as I did)

replace:
\1 \2
\1 place the first zone
\2 place the second (again, you can include literals actual text)
\2 \1 flips the two captures
theducks is online now   Reply With Quote