Mastering regular expressions in PHP, Part 1, Perl may be regex king, but PHP can slice and dice input quickly, too
From the developerWorks archives
Date archived: January 4, 2017 | First published: January 01, 2008
Pattern matching is such a common chore for software that a special shorthand — regular expressions — has evolved to make light work of the task. Learn how to use this shorthand in your code here in Part 1 of this "Mastering regular expressions in PHP" series.
This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.