![]() |
#4
|
|||
|
|||
![]()
Try this:
Find: ([A-Z]. [A-Z]. )([A-Z]{1}[a-z]{1,}-[A-Z]{1}[a-z]{1,})------(works for R. M. Johnson-Hulk – run first) Replace: \2, \1 Find: ([A-Z]. )([A-Z]{1}[a-z]{1,}-[A-Z]{1}[a-z]{1,}) -----(worksfor M. Johnson-Hulk –run second) Replace: \2, \1 Find: ([A-Z][. ]) ([A-Z][. ]) ([A-Z]{1}[a-z]{1,}) ----(Worksfor R. M. Johnson – run third) Replace: \3, \1, \2 Find: ([A-Z]. )([A-Z]{1}[a-z]{1,}) -----(Works for J. Smith– run last) Replace: \2, \1 Last edited by kilroy; 06-27-2019 at 01:15 PM. Reason: spacing |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I change multiple pictures in Word 2016 to all new pictures that appear in a specified order? | chaz | Word VBA | 7 | 07-11-2018 03:57 AM |
![]() |
puff | Word | 2 | 02-28-2018 11:04 AM |
How to do multiple find and replace in string. | PRA007 | Word VBA | 2 | 01-06-2016 09:10 PM |
multiple types of alignment on one line? | uoficowboy | Word | 1 | 03-06-2010 08:54 PM |
![]() |
weemikey | Word | 4 | 08-05-2009 11:10 AM |