Regexp
class Regexp
Constants
ALL |
|
OFFSET_CAPTURE |
|
Methods
static array
split($subject, $pattern, $flags = 0)
Splits string by a regular expression.
static mixed
match($subject, $pattern, $flags = 0, $offset = 0)
Performs a regular expression match.
static string
replace($subject, $pattern, $replacement = null)
Perform a regular expression search and replace.
Details
at line 34
static array
split($subject, $pattern, $flags = 0)
Splits string by a regular expression.
at line 53
static mixed
match($subject, $pattern, $flags = 0, $offset = 0)
Performs a regular expression match.
at line 81
static string
replace($subject, $pattern, $replacement = null)
Perform a regular expression search and replace.
Traits
Better OOP experience.