New to Telerik UI for WinUI? Start a free 30-day trial
MaskedRegexInput
Updated on Mar 26, 2026
The RadMaskedRegexInput represents an input control for entering string values validated by a custom regular expression set via the Mask property.
Example 1: Adding a RadMaskedRegexInput in XAML which only accepts letters
XAML
<input:RadMaskedRegexInput Mask="^[a-zA-Z]+$" />
Below you can find a list of regex examples and their usage:
| Regex | Usage |
|---|---|
| "[0-9]" | a single digit |
| "[0-9]{1}" | a single digit (required) |
| "[a-zA-Z]" | a single letter |
| "[a-zA-Z]{1}" | a single letter (required) |
| "\S" | all symbols without space |
| "." | all symbols |
| "[0-9a-zA-Z]" | all without special symbols and space |
| "[0-9a-zA-Z ]" | all without special symbols |