You can use !Matcher.contains(pattern)
regards

-----Original Message-----
From: Ilhami Visne [mailto:[EMAIL PROTECTED]
Sent: Tue 6/13/2006 5:19 AM
To: oro-user@jakarta.apache.org
Subject: to match there is no such substring
 
hi,

With RE is possible to match a string. I want but the opposite. it should
return true, if the regex doesn't match a string.

Problem is: i have a strings and i want only the strings, which don't
contain a specific word.

thanx in advance


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to