LXXXVIII. Regular Expression Functions (Perl-Compatible)

Introduction

Requirements

Installation

Runtime Configuration

Tämä laajennus ei määrittele yhtäkään konfigurointi asetusta .

Resource Types

Tämä laajennus ei määrittele yhtäkään resurssi-tyyppiä .

Predefined Constants

These constants are defined by this extension , and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime .

Taulu 1 .

Examples

Esimerkki 1 .



Esimerkki 2 .



Sisällys
Pattern Modifiers -- Describes possible modifiers in regex patterns
Pattern Syntax -- Describes PCRE regex syntax
preg_grep -- Return array entries that match the pattern
preg_match_all -- Perform a global regular expression match
preg_match -- Perform a regular expression match
preg_quote -- Quote regular expression characters
preg_replace_callback -- Perform a regular expression search and replace using a callback
preg_replace -- Perform a regular expression search and replace
preg_split -- Split string by a regular expression