Articles on: Feed Rules

Feed Conditions: Match regex

LitCommerce Feed Management offers multiple rules when setting up your feed, enabling you to locate, modify, and optimize your product data for the target platform.


This article introduces you to the “Match regex” condition. 


Set up and apply


For more details on how to set up and apply the rule, refer HERE.


How It Works


Regex (short for Regular Expression) is a pattern-based search language used to find, match, or replace text that follows a specific format. You can define the format using symbols or codes to instruct the system which text to match.


The “Match regex” condition appears under the If, And, and Or-statements for fields that contain text data. It lets you use regex to find products that match specific text patterns in your product data.



This rule is ideal for users familiar with regex who need advanced product search capabilities, such as finding multiple variations of a keyword in a single search.


Example: You would like to locate products with titles that contain the word “Pink” followed by “Base” at the end for further editing. The following condition can be set:


If “Product Title” - “matches regex” - “\bPink\sBase\b”.



This will detect all products that match the set text pattern.



You can use the rule “doesn’t match regex” to take the opposite effect.



If you have any questions, let us know via the Chat Box in the bottom-right corner of our Help Center.

Updated on: 13/11/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!