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: May 13, 2019 | 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 content, steps, or illustrations may have changed.