|
Posted by Berimor on 10/24/91 11:31
On Tue, 08 Nov 2005 14:21:03 +0200, <jfbarro@gmail.com> wrote:
> Hi!
>
>
> I am a completly newbie to regexp and I would like to find a regular
> expression which execute the following search:
> "Show me all *Exception* since they are different from EOFException and
>
> SocketException"
>
>
> I tried [^EOF]Exception&[^Socket]Exception, but it didn't function like
>
> I expected.
>
>
> Does anyone have any clue?
>
>
> Thanks in advance
>
preg_match_all("/((\w*)(?<!EOF|Socket)Exception)/U",$string,$mtch,PREG_SET_ORDER);
will find all "abcException", "Exception" except EOFException and
SocketException
--
---
Exact Meta Search | Major Search Engine
http://exactsearcher.com
[Back to original message]
|