simple regex

Arvind Gudipati <[email protected]> Fri, 31 May 2002 12:36:07 -0400
Newsgroups gmane.comp.jakarta.oro.user
Message-ID <6757931EA0D9D3118B8E00C04FA05FB08A6369@pansvr02>
This should be a simple question.

How do i check if a particular single DOESNOT contains a word?

for example:
String string1 = "one, two ABC end";
String string2 = "two, four abcd end";

and letz say i only want stirng's which doesnt contain "ABC" (note:
case-senitive).. what would be the regex for the same?

Many thnx in advance:)



























****************************************************************************
*************                                 This E-mail is from PANACYA
Inc. The E-mail and any files transmitted with it are confidential and may
also be privileged and intended solely for the use of the individual or
entity to whom they are addressed. Any unauthorized direct or indirect
dissemination, distribution or copying of this message and any attachments
is strictly prohibited. If you have received the E-mail in error please
notify [email protected] or telephone (410) 910-3300.
****************************************************************************
************