CM Search and Replace (CMSR) - Replacement Rules

Replacement Rules

Back to User Guide

  • Navigate to the Replacement Rules tab on the plugin dashboard. 

  • In the box, there is space to see the replacement rules that have been set for the plugin. 
  • There are options to change From String, To String, Case, Regex, Pause and add restrictions.
  • Use the bottom set of boxes to manually change the string restrictions for the plugin.
  • Check or uncheck the box for case, regex, and pause. Setting the case means that the rule setting will be case sensitive.

Reorder Rules using Drag and Drop

Since the order of the rule has a great implications on the output of the content you can change the order to reflect your needs using a drag and drop interface

Define number of Rules on

You can add pagination support  or display all rules on one screen using the settings found under the settings tab

Adding Restrictions

The plugin allows to restrict each rule in two ways:


  • Click on the box for Add Timeframe
  • A new box appears to set a date and time for the restriction. 
  • Setting the dates means that this rule will be applied only between the date range defined in the restriction. 

Location exclusion

  • Click on the box for Add Exclusion
  • A new box appears with set of checkboxes
    • Each of the checkboxes allows to exclude given rule from working in associated area eg.
      • Checking "Title" means that even if the General Settings say otherwise, this rule will not work in titles
  • Setting content type restriction means that this rule will be applied only to the content type defined in the restriction

Adding More Rules

  • Under options, you can update or delete a restriction rule at any time by clicking the Add Rule button.
  • To save the changes, click on the blue save button in the bottom left hand corner of the tab, before leaving the page.

More information about the On Demand Search and Replace WordPress Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center