« Implement and deploy Web services in an Apache | Main | Discover Python, Part 8: Reading and writing data »

How to use regular expressions in PHP Regular


How to use regular expressions in PHP
Regular expressions can provide a powerful way to work with text. Using regular expressions, you can do complex validation of user input, parse user input and file contents, and reformat strings. PHP provides simple methods that let you use POSIX and PCRE regular expressions. This article discusses the differences between POSIX and PCRE, and how you can use regular expressions and PHP V5.