PHP Regex
6 functions
preg_matchpreg_match(string $pattern, string $subject, array &$matches = null): int|falsePerform a regular expression match.
preg_match_allpreg_match_all(string $pattern, string $subject, array &$matches): int|falsePerform a global regular expression match.
preg_replacepreg_replace(string $pattern, string $replacement, string $subject): string|nullPerform a regular expression search and replace.
preg_splitpreg_split(string $pattern, string $subject): array|falseSplit string by a regular expression.
preg_quotepreg_quote(string $str, ?string $delimiter): stringQuote regular expression characters.
preg_greppreg_grep(string $pattern, array $array): arrayReturn array entries that match the pattern.
