Difficult to achieve in one pass - but
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "[0-9]{1,} [0-9]{5} ([A-Za-z' ]{3,})*^13"
.Replacement.Text = "\1=^p"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchAllWordForms = False
.MatchSoundsLike = False
.MatchWildcards = True
End With
Selection.Find.Execute replace:=wdReplaceAll
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = " ="
.Replacement.Text = "="
End With
Selection.Find.Execute replace:=wdReplaceAll
will work
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Hello From Steved
From This please to
1 44121 Electra Dee (4) 5m brbl
13 72231 Tatlock + (6) 4g ch
5 15336 Kay's Awake + (4) 4m b
To this Please
Electra Dee=
Tatlock=
Kays Awake=
Thankyou