Introduction
A regular expression is a specially formatted pattern that can be used to find instances of one string in another. Several programming languages including Visual Basic, Perl, JavaScript and PHP support regular expressions, and hopefully by the end of this primer, you

This is GREAT! I'm new to PHP and have found several good examples for coding, but this is the first web page I've found that actually explains exactly what the expressions mean. Thanx so very much!!!
Awesome tutorial…now I can write my own regular expressions.
Excellent, this help me to increase my confident in Regular Expression. Thanks a lot.
This is really very helpful article for beginner as well as professional. It benefited me a lot.
It helps
Excellent, finally somewhere that explains Reg Expressions in an understandable manner.
Its nice and Very helpfull for me
Thanks
this is good tutorial to understand rex
Wow – this is great! Having looked at the php.net ereg page, it doesn't seem to say or link to how to create the 'pattern' field and let's you guess from the one example. Now it's all become clear!
great tutorial with examples!
Excellent tutorial. I needed to limit the numbers entered for a phone number field and it worked like a charm. Thanks.
thank you. it was very helpful and clear
Made me understand Regular expressions in no time. And I can say now its not rocket science.
nicely done!
Nice tutorial dude, I think I got the basic understanding about regular expression only after reading your article. Thanks
nice tutorial i got the phone number and email validation using this tutorial
Terrific
Why isn't there more people like you around. Others teach how to drive a car but never how to start it in the first place.
Thank you.
This is one of the best tutorials I have come across – well done!
Excellent
GREAT! eventually I have found a comprehensive tutorial about regular expression. The internet is full of websites that are copies of each other, and they all have only one crap example with data validation. This is not only original but also a very informative page! Thanks!
very good site for regular expressions
Thanks alot!
Awesome! … my compliments to you, for your excellent presentation. Now I'm trying to determine how to leave "hyphens" in a phone number but remove all other non-alphanumeric characters.
You can use a regular expression like:
$phoneNumber = preg_replace(“#[^0-9\-]#ism”, “”, $phoneNumber);