/regex/i – case-insensitive /regex/s – make period (.) match any character including newline /regex/x – remove whitespace /regex/m – make caret (^) match after, and dollar sign ($) match before, internal newlines (n) /regex/e – if the replacement string is PHP code, eval() it to get the actual replacement string /regex/U – reverses the greediness […]

Celý článek