Title: [Plugin: Disable Plugins] example regex for single post/page
Last modified: August 20, 2016

---

# [Plugin: Disable Plugins] example regex for single post/page

 *  [21clg](https://wordpress.org/support/users/21clg/)
 * (@21clg)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-disable-plugins-example-regex-for-single-postpage/)
 * Hello, could you please give me an example of a regular expression which will
   disable a particular plugin on a particular post/page id??
 * In your documentation you list an example for disabling Hello Dolly on the home
   page, but an example of disabling Hello Dolly on a single post id would be FANTASTIC
   and really help to see how to customize it for any plugin and any particular 
   page. Thanks man for this plugin Ive been searching around ALOT for something
   like this
 * [http://wordpress.org/extend/plugins/disable-plugins/](http://wordpress.org/extend/plugins/disable-plugins/)

Viewing 1 replies (of 1 total)

 *  [nicomollet](https://wordpress.org/support/users/nicomollet/)
 * (@nicomollet)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-disable-plugins-example-regex-for-single-postpage/#post-3090569)
 * Exclude a plugin on a particular page:
    ^\/section\/page\/$ plugin
 * Exclude a plugin on all pages except this section:
    ^((?!\/section\/).)*$ plugin

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Disable Plugins] example regex for single post/page’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/disable-plugins.svg)
 * [Disable Plugins](https://wordpress.org/plugins/disable-plugins/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disable-plugins/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disable-plugins/)
 * [Active Topics](https://wordpress.org/support/plugin/disable-plugins/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disable-plugins/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disable-plugins/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [nicomollet](https://wordpress.org/support/users/nicomollet/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-disable-plugins-example-regex-for-single-postpage/#post-3090569)
 * Status: not resolved