how can I split this string:
|^^^*|^^^*|^^^*|^^^*|^^^*|myvalue^nao^nao^nao*|myvalue^nao^nao^nao*|myvalue^nao^nao^nao*|^^^*|^^^*|^^^*|^^^*|^^^*|^^^*|^^^*|^^^*|^^^*|^^^*|^^^*|^^^*
so I can only get the value "mayvalue".
For the moment, I'm using:
$text = preg_split("/[^\|(*.?)\^$]/", $other);
But it returns myvalue^nao
Any ideas?