New to Telerik UI for WinUI? Download free 30-day trial


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

<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

See Also

In this article
Not finding the help you need?