You can restrict what characters a learner may type into a text input object.
There are two ways to restrict characters:
Regex expression | Description |
---|---|
a-zA-Z | Allows all letters of the alphabet in lower and upper case. All other characters, such as spaces, numbers, and symbols, are ignored. |
a-zA-Z0-9 | Allows all letters of the alphabet in lower and upper case and all whole numbers. |
a-zA-Z0-9- | Same as above, plus negative non-decimal numbers. |
a-zA-Z0-9 - |
Same as above, plus spaces. |