Quote:
Originally Posted by pattycake
I understand the # delimiters, but not that stuff inside the [], or the siU at the end, or the two QuoteBegin and QuoteEBegin.... why are there two of them?
...
what does that {1,2} thingie?
|
You might want to look at this:
http://www.php.net/manual/en/referen...ern.syntax.php
[...] = "character class" (the ^ negates it), {1,2} = "repetition", and siU are "internal options settings".
ETA: .. and this:
http://www.php.net/manual/en/function.preg-replace.php