View Single Post
Old 03-20-2011, 10:35 PM   #21
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,139
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 Jabby View Post
My thanks to all who pitched in to help.

I think I understand the answers to my question. I still need to think about where the "\2" fits in (I understand, not in this case).

I've bookmarked the tutorial sites and will study these and then probably buy RegexBuddy;

Again thanks. Regards - John

P.S. The ranks of those who have worked with the PDP-8 are starting to thin. I haven't fiddled with one for almost fifty years. Ye gods! That makes me feel old.
Lastname, Firstname -> Firstname Lastname

Search: (\w+), (\w+)
Replace: \2 \1


toggle toggle Deposit
theducks is offline   Reply With Quote