I want to allow (.) and (a-zA-Z) letters and _ and - , I have some problems with the (.) ,
Any idea ?
Thanks in advance ,
Ish
. Has a special meaning in regular expressions, it uses to denote any character. Therefore you need to use escape character.
.
So you need to use \.
\.