Accenture Interview Questions | [a-z A-Z 0-9 -.] what does this regex means?
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
It will take less than 1 minute to register for lifetime. Bonus Tip - We don't send OTP to your email id Make Sure to use your own email id for free books and giveaways
Answers ( 3 )
Range Expression- Accept ANY ONE of the character in the range, e.g., [0-9] matches any digit; [A-Za-z] matches any uppercase or lowercase letters, ‘.’ (dot): ANY ONE character except newline
include all alphanumeric characters along with -and .
“.” means any one character except line break. So it means any one character which is alphanumeric (lowercase and uppercase)