PHP正規表現preg_split
preg_replace

preg_split正規表現

preg_quote

正規表現を基準に文字列を分割します。

構文

preg_split(string $pattern, string $subject): array|false