MaskedRegexInput
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]+$" />
| 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 |