I’m trying to configure a rule that will drop remove any field that matches “Form__member_name_” with 7 digits after (i.e . Form__member_name_1234567) I have this much but I’m not sure how to go about attaching a regex to my rule:
rule "function removeFields"
when
has_field("Form__member_name_")
then
remove_field("Form__member_name_");
end
Is it possible to set a field to look for with a regex in your rule?