> ## Documentation Index
> Fetch the complete documentation index at: https://docs.elementary-data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# exclude_regexp

<Card title="Generate your anomaly test with Elementary AI" icon="wand-magic-sparkles" horizontal="true" href="https://elementary-data.com/community">
  Let our Slack chatbot create the anomaly test you need.
</Card>

`exclude_regexp: [regex]`

Param for the `all_columns_anomalies` test only, which enables to exclude a column from the tests based on regular expression match.

* *Default: None*
* *Relevant tests: `all_columns_anomalies`*
* *Configuration level: test*

<RequestExample>
  ```yml test theme={null}
  models:
    - name: this_is_a_model
      data_tests:
        - elementary.column_anomalies:
            arguments:
              exclude_regexp: ".*SDC$"
  ```
</RequestExample>
