> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/data-quality-self-hosted/admin-configuration/more-admin-settings/pattern-validation-for-commonly-used-names.md).

# Pattern validation for commonly used names

Collibra DQ supports pattern validation for some commonly used IDs and names. You can override these patterns in the owl-env.sh file for Standalone or the Web ConfigMap for Cloud Native by replacing the default values using a RegEx for the following env variables:

| Env variable                       | Variable name   | Default                                                                                                                    | Usage                                                              |
| ---------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| VALIDATION\_PATTERN\_NAME\_ID      | Name ID pattern | Alphanumeric characters (letters and digits) and underscores (\_).                                                         | For overriding defaults of Name IDs in Collibra DQ.                |
| VALIDATION\_PATTERN\_COMMON\_NAME  | Common name     | Alphanumeric characters (letters and digits) and underscores (\_).                                                         | For overriding defaults of common names used in Collibra DQ.       |
| VALIDATION\_PATTERN\_SCHEMA\_NAME  | Schema name     | Alphanumeric characters (letters and digits) and underscores (\_).                                                         | For overriding defaults of connection schema names in Collibra DQ. |
| VALIDATION\_PATTERN\_CONN\_NAME    | Connection name | Alphanumeric characters (letters and digits), underscores (\_), and hyphens (-).                                           | For overriding defaults of connection names in Collibra DQ.        |
| VALIDATION\_PATTERN\_DATASET\_NAME | Dataset name    | Alphanumeric characters (letters and digits), underscores (\_), and hyphens (-).                                           | For overriding defaults of dataset names in Collibra DQ.           |
| VALIDATION\_PATTERN\_FILE\_NAME    | File name       | Alphanumeric characters (letters and digits), underscores (\_), hyphens (-), periods (.), backslashes (/), and spaces ( ). | For overriding defaults of file name usages in Collibra DQ.        |
| VALIDATION\_PATTERN\_LDAP\_DN      | DN              | Comma separated key value pair with both the key and value consisting of lowercase letters, digits, and hyphens.           | For overriding defaults of LDAP DN usages in Collibra DQ.          |

{% tabs %}
{% tab title="Example" icon="glasses-round" %}
If you want to override the default that does not allow spaces in the connection name, set the connection name variable to the following RegEx: `VALIDATION_PATTERN_CONN_NAME=^[a-zA-Z0-9_- ]+$`
{% endtab %}
{% endtabs %}
