Search Regex is an amazing free WordPress plugin that enables you to search and replace code throughout your WordPress site. It can save an insane amount of time if used properly. The use cases for it are countless. To give you an idea of how useful it can be and inspire you to think about how you can leverage the tool, I’ve provided some specific examples of how I’ve used it below. Select entire shortcode Search pattern [[button.*]] The above search pattern will return all instances of [button] shortcodes on your site. This could be useful if for example you wanted to remove legacy shortcodes throughout your site. Add a shortcode surrounding all images Search pattern [] Replace pattern [et_social_share_media][/et_social_share_media] The above example would add the Elegant Themes social share media shortcode for the Monarch social media sharing WordPress plugin to all images on your site. Just imagine how much time it would take to do that manually for 353 images! Remove all links to a particular domain Search pattern [
Share This