With BaseExtensions, we are able to perform a search for specific words, letter or characters to replace them with another specified word, letter or character. This feature is compatible in both Word and PowerPoint. Read about PowerPoint solution here.
Module is located here:
<Cmd case="BaseExtensions:search-replace" to-search="x" to-replace="y"/>
Define what the command should search for, e.g. "hi".
Define what the
to-search parameter should be replaced with, e.g. "hello".
This will search a document for "hi" and replace it everywhere with "hello".
Define as either
false to define whether or not the functionality should apply only to the users selection.
This parameter is optional. Define as either
false to determine whether or not the search should match on wildcards. If the parameter is omitted it will use the old functionality. This parameter is relevant if the
to-search parameter contains characters that can be considered wildcards. If the
to-search parameter text uses the character as a wildcard then it should be set to true. If the characters in the
to-search text should be replaced (considered as normal text) this parameter should be set to true. If no suchcharacter is present in the
to-search text this parameter should be omitted.
Following table shows a few common wildcards. For more information and more wildcards read more here.
|Any single character
|h?t will find hat, hot, and h t
|Any number of characters
|a*d will find ad, ahead, and as compared
|One of these characters
|t[ai]n will find tan and tin, but not ton
|One or more instances of a character
|cor@al will find coral and corral