PHP正規表現preg_quote
preg_split

preg_quote正規表現

preg_grep

正規表現の特殊文字をエスケープします。

構文

preg_quote(string $str, ?string $delimiter): string