Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SubDocument.ReplaceAll Method

Name Parameters Description
ReplaceAll(String, String, SearchOptions, DocumentRange) textToFind, replaceWith, options, range Finds all occurrences of the search string in the specified range, and replaces them with the replacement string.
ReplaceAll(String, String, SearchOptions) textToFind, replaceWith, options Finds all occurrences of the search string in the current document, and replaces them with the replacement string.
ReplaceAll(Regex, String, DocumentRange) regex, replaceWith, range Replaces all occurrences of a character pattern defined by a regular expression with a specified replacement string.
ReplaceAll(Regex, String) regex, replaceWith Replaces all occurrences of a character pattern defined by a regular expression with a specified replacement string.