Hi Joe,
I am assuming what you want to find is
an opening pointed bracket "<", followed by either "S" or "F",
followed by 4 characters, followed by a closing pointed bracket ">".
Then it would be:
Sub Resetsearch()
With Selection.Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Execute
End With
End Sub
---
Sub Test731()
resetsearch
Dim oRng As Range
Set oRng = ActiveDocument.Range
With oRng.Find
.Text = "\<[FS]????\>"
.MatchWildcards = True
While .Execute
oRng.Select
MsgBox "found"
oRng.Start = oRng.End
oRng.End = ActiveDocument.Range.End
Wend
End With
End Sub
In case you are searching for an opening pointed bracket "<",
followed by either "S" or "F", followed by 4 asterisks "****",
followed by a closing pointed bracket ">", the search string
would be "\<[FS]\*\*\*\*\>". Which could be abbreviated, probably,
but would be of no practical use.
Visit:
http://word.mvps.org/faqs/General/UsingWildcards.htm