Command Clipboard Replace All...

The ReplaceAllClipboard command replaces all occurences of a search string inside the clipboard content.

When selecting the Replace All... menu item, the following dialog

Replace All Command Input

will help you specify the ReplaceAllClipboard command parameters:

findWhat

Search string.

replaceWithFormat

Indicates if the replace string is formatted text.

replaceWith

Replace string. Note that in case of a replace with format, the replace string contains the RTF code for the replace string.

wholeWord

Indicates if search matches should be whole words only.

matchCase

Indicates if search should be case sensitive.

preserveCase

Indicates if replaces should preserve the original case of the replaced string.

Example

In the following expansion:

{CopySelection}
{ReplaceAllClipboard}
wholeWord = "n"
matchCase = "n"
preserveCase = "n"
findWhat = " "
replaceWithFormat = "n"
replaceWith = "-"
{/ReplaceAllClipboard}
{Paste}

spaces are replaced by hyphens inside selected text.