PHP Function List
preg doesn't exist. Closest matches:
- preg_quote
- preg_replace_callback
- preg_replace
- preg_match_all
- preg_last_error
- preg_filter
- preg_grep
- preg_split
- preg_match
- ereg
- prev
- eregi
- mb_ereg
- gmp_neg
- ps_rect
- openlog
- rad2deg
- phar
- ociparse
- pdf_rect
Site Search Results
-
Parameters. pattern. The pattern to search for, as a string. subject. The input string. matches. If matches is provided, then it is filled with the results of search.
-
Searches subject for matches to pattern and replaces them with replacement.
-
Searches subject for all matches to the regular expression given in pattern and puts them in matches in the order specified by flags. After the first match is found, the ...
-
preg_replace_callback - Manualpreg_replace_callback (PHP 4 >= 4.0.5, PHP 5) preg_replace_callback — Perform a regular expression search and replace using a callback
-
Parameters. pattern. The pattern to search for, as a string. subject. The input string. limit. If specified, then only substrings up to limit are returned with the rest of the ...
-
preg_filter() is identical to preg_replace() except it only returns the (possibly transformed) subjects where there was a match. For details about how this function works, read ...
-
preg_grep — Return array entries that match the pattern; preg_last_error — Returns the error code of the last PCRE regex execution; preg_match_all — Perform a global regular ...
-
preg_quote() takes str and puts a backslash in front of every character that is part of the regular expression syntax. This is useful if you have a run-time string that you ...
-
Returns the array consisting of the elements of the input array that match the given pattern.
-
preg_match_all ("/<([^>]+)>/i", $tags, $allTags, PREG_PATTERN_ORDER); $replace = "%(<$tag.*?>)(.*?)(<\/$tag.*?>)%is"; foreach ($allTags [1] as $tag)

Other forms of search
To search the string "preg" using other options, try searching:
- Only the documentation
- Only this mirror
- The entire php.net domain
- pear.php.net
- pecl.php.net
- The Bug DB
- php-general mailing list
- Internals mailing list
- Documentation mailing list
For a quick overview over all documented PHP functions, click here.
