WannaLearn
Programmer
Hello, I am starting to learn RegEx, can anyone tell me what this means exactly: re = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,})+$/;
I know what it's supposed to do, I know it's an e-mail validation, but don't know why there is a '+' after the 'w' and what the string inside the '[]' does exactly.
I was doing a regex google search for some tutprials and came across this.
Anyone know some other sites that teaches regex?
Thank-you.
I know what it's supposed to do, I know it's an e-mail validation, but don't know why there is a '+' after the 'w' and what the string inside the '[]' does exactly.
I was doing a regex google search for some tutprials and came across this.
Anyone know some other sites that teaches regex?
Thank-you.