-
Notifications
You must be signed in to change notification settings - Fork 5
Plugin: SimpleReplace
Dario Giovannetti edited this page Dec 19, 2017
·
3 revisions
This plugin performs a global regular expression substitution and is found both in editor pages and in the bot interface.
-
RegExp pattern: a
JavaScript regular expression,
without the opening and closing
/
- i: the ignore case flag
- New string: the string to be substituted to the the matches of the regular expression; capturing groups can be referenced as described in JavaScript's String replace reference
- Summary: used only by the bot, this is the edit summary that will be submitted when saving the modified article
-
enabled
:true
-
editor_menu
:["RegExp substitution"]
-
option_label
:"RegExp substitution"