GlobalReplace

Does a global find-and-replace on the selected text using string.gsub

Menu

Search -> Global Replace

Keyboard shortcut

Ctrl+Shift+G

Example of script call

world.DoCommand "GlobalReplace"

Details

Invokes the global replace dialog box, which lets you do powerful replacement on the selected text using Lua's string.gsub, allowing you to use regular expressions in the Find box, and optionally a custom replacement function.

Topic

Dialog

Functions