Reply to Re: How can I create a regexp which do that?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация