Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Regular Expressions in JavaScript Validating a Form Validating an Email

What is + means on regex? can't understabd

what is [a-z]+ for exmaple means? is it like saying that it can be multiple times a letter?

1 Answer

that means it looks for 1 or more occurrences of a letter in the range of a-z.

so any lowercase word will trigger it.

This is a good tool for helping understand regex https://regexr.com/

to be more specific, whatever search term is directly in front of the + symbol will need to be matched 1 or more times.

Thank you very much sir.

Sean T. Unwin
Sean T. Unwin
28,690 Points

RegEx Pal is another good place to experiment/test Regular Expressions.