PCRE Module and C Library

This section provides a quick introduction on PCRE Library for regular expression operations.

What Is PCRE Module? - PCRE (Perl Compatible Regular Expressions) Module, also called PCRE Extension or PCRE Library, provides a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. PCRE module was introduced in PHP 4 and based on the PCRE C library written by Philip Hazel.

PCRE module is automatically included in PHP distribution packages.

Main functions provided by the PCRE module:

For more information on PCRE module, see PHP documentation at php.net/manual/en/book.pcre.php

For more information PCRE C Library, see PCRE Website at pcre.org

Table of Contents

 About This Book

 Introduction and Installation of PHP

 Managing PHP Engine and Modules on macOS

 Managing PHP Engine and Modules on CentOS

 cURL Module - Client for URL

 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

PCRE Module and C Library

 preg_match() - Regular Expression Match

 preg_grep() - Search Array Members

 preg_replace() - Replace Matched Substring

 preg_split() - Split String into Tokens

 preg_quote() - Escape Characters in Pattern

 SOAP Module - Creating and Calling Web Services

 SOAP Module - Server Functions and Examples

 Zip Module - Managing ZIP Archive Files

 References

 Full Version in PDF/EPUB