Hi
In below code i want User can enter . (Dot) also in pattern.
*
Thanks
Naimish MakwanaPosted Sep 2, 2024, 8:11 AM
To allow users to enter a dot (.) in the pattern, you need to update the
patternattribute in yourelement. The dot character needs to be escaped with a backslash (\) in the regular expression. Here’s the updated code:This change allows the input to include alphabets, spaces, and dots.