I saw this question and tried it myself too. The correct answer is option D and it actually works, but I am not able to understand why it works. The names for input into Regex are in uppercase and I have read that [a-z] is for lowercase alphabets. Could anyone please explain me why the below is working?
Thanks
Gaurav
