Re: [PHP] (Perl) Regular Expressions - oposite match or get the non-matches of a substring

2009-02-11 Thread Per Jessen
German Geek wrote: I consider myself quite good with Regular Expression, but i could never find out how to match something like: match this but not this and that so i would like to match the first match this (or another this) but not not this. Seems pretty straight forward but i

Re: [PHP] (Perl) Regular Expressions - oposite match or get the non-matches of a substring

2009-02-11 Thread Virgilio Quilario
Hi all, I consider myself quite good with Regular Expression, but i could never find out how to match something like: match this but not this and that so i would like to match the first match this (or another this) but not not this. Seems pretty straight forward but i haven't found a

[PHP] (Perl) Regular Expressions - oposite match or get the non-matches of a substring

2009-02-10 Thread German Geek
Hi all, I consider myself quite good with Regular Expression, but i could never find out how to match something like: match this but not this and that so i would like to match the first match this (or another this) but not not this. Seems pretty straight forward but i haven't found a (good)