Find everthing that is not between specific tags
- by murze
Hi,
i'm using
preg_match_all('/<?(.*)?>/', $bigString, $matches, PREG_OFFSET_CAPTURE);
to find the contents of everthing between ''
Now I'd like to find everthing that is NOT between ''
I'm trying with
preg_match_all('/^(<?(.*)?>)/', $bigString, $nonmatches, PREG_OFFSET_CAPTURE);
but that doesn't seem to work...
How can i find everthing that is not between '' ?