PHP
Käsikirja
Edellinen
Seuraava
preg_match
preg_match -- Perform a regular expression match
Description
int
preg_match
( string pattern, string subject [, array matches [, int flags]])
PREG_OFFSET_CAPTURE
The
flags
parameter is available since
PHP
4.3.0 .
Esimerkki
1
.
Esimerkki
2
.
find
the
word
"
web
"
Esimerkki
3
.
See also
preg_match_all()
,
preg_replace()
, and
preg_split()
.
Edellinen
Alkuun
Seuraava
Ylös