# Regexes · Fields Settings · Admin Portal

Create and manage regular expressions that restrict the values accepted by custom fields.

Canonical: https://docs.mintsd.com/docs/mint-service-desk/admin-portal-regexes
Language: en-GB
Revision: 2a2d39f1e31deba465d9905cd685a5a3416966a588eb6151bba19ba5bc3c7cc9

<a id="element-01a1452e-0d7c-7f45-ab43-a84ed25284d8"></a>

Regular expressions restrict the format of field values. For example, an Integer attribute accepts numbers, while an Email attribute accepts an email address.

<a id="element-01a1452e-0d7c-7375-a1d3-0c8d31c88e6d"></a>

![Regular expressions restrict the format of field values. For example, an Integer attribute accepts numbers, while an Email attribute accepts an email address.](https://docs.mintsd.com/api/reader/assets/assets/images/image585.png?v=40252281bdd67789820f7d7c9b57c0e3cd52496bd003ab88bb24430183fc8634)

<a id="element-01a1452e-0d7d-7427-a034-1eb107f0b1a5"></a>

Mint Service Desk includes predefined regular expressions. You can also create your own.

<a id="element-01a1452e-0d7d-71aa-8ba2-f432add31ba9"></a>

<a id="element-01a1452e-0d7e-7959-8c7b-b0f3d5b98e4e"></a>

Click on the “Add new value” ![Add](https://docs.mintsd.com/api/reader/assets/assets/images/image3.png?v=50654a0321a77a3b2271140f1b6a5080d18fbef92f3639b9b83ad57f0fd5735d#element-01a1452e-0d7d-71aa-8ba2-f432add31ba9) button, located on the right
side, next to the search field and you will be moved to the “Create New
Regex” screen.

<a id="element-01a1452e-0d7e-711e-aaff-ecf5cdce7401"></a>

![Click on the “Add new value” button, located on the right side, next to the search field and you will be moved to the “Create New Regex” screen.](https://docs.mintsd.com/api/reader/assets/assets/images/image586.png?v=cafb7decfd91d6a06f0ad67aad5925d6e6284c9840d41b94e9faf0d88a63662c)

<a id="element-01a1452e-0d7f-786b-a29b-6806a23fea15"></a>

<a id="element-01a1452e-0d80-71cf-8751-5a62259e6e55"></a>

Now, just type the “Name” of your regex and the allowed set of “Values”.
You can also check the option “Is hidden” if needed. Press the
![Create](https://docs.mintsd.com/api/reader/assets/assets/images/image58.png?v=3659f4ed6ae2729e35fe5eb8832cf827f8c264181610e981304daec839c30f99#element-01a1452e-0d7f-786b-a29b-6806a23fea15) button and the new regex will appear on the list of available
ones.

<a id="element-01a1452e-0d80-7ba3-b73e-e5078cffc5cb"></a>

<a id="element-01a1452e-0d80-70b2-b6b5-f9222efeea3f"></a>

If, on the other hand, you would like to make some changes in already
existing Regex, just click the ![Edit](https://docs.mintsd.com/api/reader/assets/assets/images/image89.png?v=702adcf46ea452d46f158b0c91e923f5b40ae6f37d95ca5764e20654a2855c4c#element-01a1452e-0d80-7ba3-b73e-e5078cffc5cb) button located on the right
side of the main view, in the ‘Action’ column.

<a id="element-01a1452e-0d81-78be-bc78-c8c5366bfb6f"></a>

![If, on the other hand, you would like to make some changes in already existing Regex, just click the button located on the right side of the main view, in the ‘Action’ column.](https://docs.mintsd.com/api/reader/assets/assets/images/image588.png?v=e27d6f72c9d418a69b7598de4677952880f305659fa38d2b2e426d90ef76f089)

