A family of Microsoft word processing software products for creating web, email, and print documents.
Hi @SteveD
attached the modified code. its working well. please check and give your feedback.
.Text = " [0-9]{2} " here is the problem.
With Selection.Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = " ([0-9]{2}) "
.Replacement.Text = "000\1"
.Format = True
.Replacement.Font.Size = 12
.Forward = True
.Wrap = wdFindStop
.MatchWildcards = True
End With
Selection.Find.Execute Replace:=wdReplaceAll
Thanks.