PHP Modules Tutorials - Herong's Tutorial Examples - v5.18, by Herong Yang
PCRE Module - Perl Compatible Regular Expressions
This chapter provides tutorial examples and notes on PCRE module. Topics include introduction of commonly used PCRE functions; searching for patterns and retrieving matched substrings; searching array members; replacing substrings; splitting strings; quoting special characters.
preg_match() - Regular Expression Match
preg_grep() - Search Array Members
preg_replace() - Replace Matched Substring
Takeaways:
Table of Contents
Introduction and Installation of PHP
Managing PHP Engine and Modules on macOS
Managing PHP Engine and Modules on CentOS
DOM Module - Parsing HTML Documents
GD Module - Manipulating Images and Pictures
MySQLi Module - Accessing MySQL Server
OpenSSL Module - Cryptography and SSL/TLS Toolkit
►PCRE Module - Perl Compatible Regular Expressions
SOAP Module - Creating and Calling Web Services
SOAP Module - Server Functions and Examples