Search found 2 matches

by mnb
Mon May 19, 2003 8:10 am
Forum: General
Topic: Problem with RegEx
Replies: 2
Views: 438

figured it out...

Find: \(^[[:word:]]+\)\([[:space:]]+\)\([[:word:]]+\)$

Repalce: \3\2\1



works like a champ, start at top of file, click replace all, bam! Time to go to sleep! :D
by mnb
Mon May 19, 2003 7:51 am
Forum: General
Topic: Problem with RegEx
Replies: 2
Views: 438

Problem with RegEx

I've got a list of names that I want to word swap. I have last name first, no comma in between, then first name. I did it this way to make alphabetizing it easy. What I want to do now is put the first name in front.

I've tried a zillion different Regular Expressions to get:
Jones Bob
Smith Mike

to ...