Documents for Word .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / RangeBaseFindReplaceExtensions Class
Methods

In This Topic
    RangeBaseFindReplaceExtensions Class Members
    In This Topic

    The following tables list the members exposed by RangeBaseFindReplaceExtensions.

    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)In the current range, finds all occurrences of a specified findPattern, using specified options.

    The findPattern can contain regular expressions (use FindOptions.RegularExpressions to control this).

    The following special tokens can be used in the findPattern regardless of whether regex are on or off:

    • end of paragraph
    • manual line break
    • page break
    • section break

    To search for text with certain formatting, use options and set the FindOptions.FormattingOptions on it accordingly.

     
    Public Methodstatic (Shared in Visual Basic)In the current range, searches for a specified findPattern, and replaces it with a provided replaceText, using specified options.

    The findPattern can contain regular expressions (use FindOptions.RegularExpressions to control this).

    The following special tokens can be used in the findPattern and in the replaceText regardless of whether regex are on or off:

    • end of paragraph
    • manual line break
    • page break
    • section break

    To search for text with certain formatting, use options and set the FindOptions.FormattingOptions on it accordingly.

     
    Top
    See Also