Tutorials

Regular Expressions (Part1) - Basic Syntax

by Nick Gavalas on Oct 12, 2008 4:36:28 PM

Table of Contents

1. Regular Expressions Basics
2. Creating Your Own Patterns
3. How Metacharacters Work
4. Quantifier Greediness
5. Pattern Modifiers
6. PCRE vs. POSIX
7. Putting it All Together
8. Conclusion and Future Tutorials

Comments

I read through your tutorial half-heartedly not expecting too much new (as I already know regex pretty well), but I did learn something new, didn't actually know that .*? removed greediness!

However, I think this is a very good beginners tutorial, and I will recommend it to anyone wanting to learn regex. I think it's well written and you take up all the important parts, without making it too complex.

Good job Nick!

1. anemos on Oct 17, 2008 7:26:54 AM

thanks for dis

2. S N on Oct 30, 2008 3:10:14 PM

Great tutorial! You break Regex down in bite sized, easy to understand examples.

3. emehrkay on Nov 4, 2008 10:40:27 AM

Awesome!
Looking forward to read next parts of the article.

4. ozke on Nov 14, 2008 8:37:41 AM

Yes,great explanation with simple examples. thanks a lot

5. kssankar on Dec 6, 2008 2:03:44 AM

Wow!! It is a very useful tutorial... Appreciates the author.

6. anu_chicku on Jan 6, 2009 4:44:25 AM
Login or register to post a comment.