I'm new to JavaScript. So can any one please explain line below for me? Thanks.
Mean First character must be between "a-z" or "A-Z" or "0-9" and exactly occur 1 time.
Code:
var re = /^[a-zA-Z0-9]{1}[a-zA-Z0-9\-\._]+\@{1}[a-zA-Z0-9\-\._]+\.{1}[a-zA-Z0-9\-\._]+[a-zA-Z0-9]{1}$/
Code:
^[a-zA-Z0-9]{1}
Code:
[a-zA-Z0-9\-\._]+\@{1}
[code]
This line should be almost as above except "a-z" or "A-Z" or "0-9" at lease 1 or more occurrence and exactly "@" occur 1 time.
But i can't understand [b]\-\._[b] mean what ?