Knowledge Base

Hi, How can we help?

Dealing with Regex (Regular Expressions)

WCPA input fields- Text and Textarea- are well-defined for matching the input values with Regular Expressions. But there is no matching for the string, this feature will match the input character-wise. Let us have a look at how we are dealing with regular expressions in WooCommerce custom product addons.

Where to set the Regular expressions?

In the Advanced edit options of the respective fields have the option to set the regular expressions.

How to set Regular expressions? Some examples

  1. To match alphabets only
    /[a-z]/
  2. To match numbers only
    /[0-9]/
  3. To match alphabets and numbers
    /[a-z0-9]/

Customer Support

If you have questions about our plugin(s), are experiencing issues with any of our plugin