cool ... you did more than i was looking for 😉
but could u do this for both types once at a time please ??
because its its normally one or the other
or/and is there a way to get a mixed way in one reg
and can u get something for the following?
$array['foo'] = "string with lorem\n ipsum's and <tags>\n\n\n";
so that i get the foo and the string from a preg_split ???
and even better get foo 0 and the string???
$array['foo'][0] = "string\'s with lorem\n ipsum's and <tags>\n\n\n";
even the 0 is empty like this
$array['foo'][] = "string\'s with lorem\n ipsum's and <tags>\n\n\n";
but the first woulds do it for me so far ..
thx a lot