Title: REGEX/Regular Expression
Last modified: September 20, 2016

---

# REGEX/Regular Expression

 *  Resolved [jkirker](https://wordpress.org/support/users/jkirker/)
 * (@jkirker)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/regexregular-expression/)
 * Apologies if this has been asked before but after searching I wasn’t able to 
   find it.
 * I use MailPoet which drives traffic back to the site via email links like:
 * [http://domain.com/?email_id=25&user_id=6&urlpassed=aHR0cDovL3dpbmRvcm9ubGluZS5jb20vb3BlbmhvdXNlP2VtYWlsJnV0bV9zb3VyY2U9d3lzaWphJnV0bV9tZWRpdW09ZW1haWwmss3dXRtX2NhbXBhaWduPWZlYm9wZW5ob3VzZQ%3D%3D&controller=stats&action=analyse&wysija-page=1&wysijap=subscriptions](http://domain.com/?email_id=25&user_id=6&urlpassed=aHR0cDovL3dpbmRvcm9ubGluZS5jb20vb3BlbmhvdXNlP2VtYWlsJnV0bV9zb3VyY2U9d3lzaWphJnV0bV9tZWRpdW09ZW1haWwmss3dXRtX2NhbXBhaWduPWZlYm9wZW5ob3VzZQ%3D%3D&controller=stats&action=analyse&wysija-page=1&wysijap=subscriptions)
 * I am significantly limiting the plug loads on all of my pages only loading what’s
   necessary on each, however I’m unable to do so on the home page for plugins that
   use url variables.
 * I’d love to use something like:
    [http://domain.com/](http://domain.com/)\?email_id(.*)
   or [http://domain.com/(.*)wysija(.*)](http://domain.com/(.*)wysija(.*))
 * Is it possible to use regular expressions currently? Or could it be made possible?
 * Thanks Jeff

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/regexregular-expression/#post-8207872)
 * It’s been asked for many times. It isn’t possible because of the way that the
   wordpress core works. This plugin has to run outside of the core so the url you
   are accessing is used to search the database for a row with a matching url. The
   entry you make in the plugin filter isn’t used to search since that isn’t known
   at the time when the page is loaded. To do what you are asking the code would
   have to load every row in the database on every page load and try to match the
   url being accessed. Which would kill your server if you had more than just a 
   few posts/pages.
    -  This reply was modified 9 years, 8 months ago by [Jeff Sterup](https://wordpress.org/support/users/foomagoo/).
 *  Thread Starter [jkirker](https://wordpress.org/support/users/jkirker/)
 * (@jkirker)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/regexregular-expression/#post-8208054)
 * Got it. Bummer… Thanks Jeff.. Btw – your plugin is hands down one of my most 
   valued. I really appreciate your work man.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘REGEX/Regular Expression’ is closed to new replies.

 * ![](https://ps.w.org/plugin-organizer/assets/icon-256x256.png?rev=1786554)
 * [Plugin Organizer](https://wordpress.org/plugins/plugin-organizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugin-organizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugin-organizer/)
 * [Active Topics](https://wordpress.org/support/plugin/plugin-organizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugin-organizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugin-organizer/reviews/)

## Tags

 * [regex](https://wordpress.org/support/topic-tag/regex/)
 * [regular expression](https://wordpress.org/support/topic-tag/regular-expression/)

 * 2 replies
 * 2 participants
 * Last reply from: [jkirker](https://wordpress.org/support/users/jkirker/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/regexregular-expression/#post-8208054)
 * Status: resolved