Find everthing that is not between specific tags
Posted
by murze
on Stack Overflow
See other posts from Stack Overflow
or by murze
Published on 2010-03-18T09:59:05Z
Indexed on
2010/03/18
10:01 UTC
Read the original article
Hit count: 195
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 '' ?
© Stack Overflow or respective owner