PCRE Patterns
PHP Manual

Pattern Syntax

Table of Contents

Description

The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5, with just a few differences (see below). The current implementation corresponds to Perl 5.005.


PCRE Patterns
PHP Manual