S
Steved
Hello from Steved
Need to please develop the below to get a result as show'n in the 2 examples
below
Sub Secondby()
ActiveDocument.Range.Find.Execute _
FindText:="(\(by*) by *\)", _
ReplaceWith:="\1)", _
MatchWildcards:=True, _
Replace:=wdReplaceAll
End Sub
From this
Beau Son= by Balmerino by Silver Marie, $, L 1:0:0, R 0:0:0
Royal Awahuri= by Kingdom Bay by Princess Zam, $, L 1:0:0, R 0:0:0
To this
Beau Son= by Balmerino, $, L 1:0:0, R 0:0:0
Royal Awahuri= by Kingdom Bay, $, L 1:0:0, R 0:0:0
Thankyou.
Need to please develop the below to get a result as show'n in the 2 examples
below
Sub Secondby()
ActiveDocument.Range.Find.Execute _
FindText:="(\(by*) by *\)", _
ReplaceWith:="\1)", _
MatchWildcards:=True, _
Replace:=wdReplaceAll
End Sub
From this
Beau Son= by Balmerino by Silver Marie, $, L 1:0:0, R 0:0:0
Royal Awahuri= by Kingdom Bay by Princess Zam, $, L 1:0:0, R 0:0:0
To this
Beau Son= by Balmerino, $, L 1:0:0, R 0:0:0
Royal Awahuri= by Kingdom Bay, $, L 1:0:0, R 0:0:0
Thankyou.