Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RegEx Help

Status
Not open for further replies.

WannaLearn

Programmer
Jul 10, 2001
210
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top