020 555 1111
  • Old fashion, modular, procedural PHP plus some scaffolding techniques to allow it to mimic MVC simplicity.
  • A quick reference to help you find in PHP maze what needs to be done and how to do it.
  • Learn a PHP Object Oriented Programming by building a live discussion forum application.
  • MVC - Model View Controller - real life, easy reference and application.
This product has options, take a look at them and select ones you like the most.
Options are displayed under image section.

Regex tutorial - PHP Freaks
[regex]

What are Regular Expressions?

Regular expressions (which will now be referred to as "regexes") are basically pattern matching inside of text. 
 
They use special syntax and concepts in order to obtain information from a string. Many programming languages have some sort of support for regexes, because of the sheer usefulness of them. Not only can patterns be used to validate that a certain pattern exists in a string, but they can also be used to physically extract matched portions and make them usable in your PHP code. Although it's not mentioned in this tutorial, keep it in mind as you're reading it, because it's the main focus of the next tutorial in the series.
  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