Title: Regular Expression auto term
Last modified: September 18, 2022

---

# Regular Expression auto term

 *  Resolved [gewoonq](https://wordpress.org/support/users/gereedschap/)
 * (@gereedschap)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/regular-expression-auto-term/)
 * Hi there,
 * In an earlier ticket I requested if Taxopress Pro would have the ability to add
   products to product categories based on certain words. For instance when I have
   a category called Reading Lights and I want both products containing reading 
   lights and book lights added to it.
 * Now I do read something about a regular expression function within auto terms.
   Could this regular expression not expand the auto term function with one extra
   word by adding it like this:
 * stristr( $content, book light )
 * Would this expression not also add products that have the word book light in 
   them to the product category i’m targeting in this case?

Viewing 1 replies (of 1 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [3 years, 8 months ago](https://wordpress.org/support/topic/regular-expression-auto-term/#post-16020774)
 * > In an earlier ticket I requested if Taxopress Pro
 * We do not have tickets on this site and never did. We do have support topics.
 * For pro or commercial product support please contact the developer directly on
   their site. This includes any pre-sales topics as well.
 * As the developer is aware, commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   I am sure they will have no problem supporting you there.

Viewing 1 replies (of 1 total)

The topic ‘Regular Expression auto term’ is closed to new replies.

 * ![](https://ps.w.org/simple-tags/assets/icon-256x256.png?rev=2853049)
 * [Tag, Category, and Taxonomy Manager - Autotagger Automatically Add Terms](https://wordpress.org/plugins/simple-tags/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-tags/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-tags/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-tags/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-tags/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-tags/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/regular-expression-auto-term/#post-16020774)
 * Status: resolved