---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.3
alternate:
  - https://divkit.tech/docs/en/concepts/divs/2/div-input-filter-regex.md
  - https://divkit.tech/docs/ru/concepts/divs/2/div-input-filter-regex.md
---
> **Documentation Index:** Fetch the complete configuration index at https://divkit.tech/docs/ru/llms.txt

# div-input-filter-regex
Фильтр на основе регулярных выражений.

## Параметры
| Параметры | Описание |
| --- | --- |
| `pattern` | <p>**string**</p><p>Обязательный параметр.</p><p>Регулярное выражение (паттерн), которому должно соответствовать вводимое значение.</p><p>Доступные платформы: Android, iOS, веб.</p> |
| `type` | <p>**string**</p><p>Обязательный параметр.</p><p>Значение всегда должно равняться `regex`.</p><p>Доступные платформы: Android, iOS, веб.</p> |

<details>
<summary>JSON</summary>

```json
{
  type*: "regex",
  pattern*: "string"
}
```
</details>
