Re: to match there is no such substring
"Ilhami Visne" <[email protected]> Wed, 14 Jun 2006 18:23:50 +0200
| Newsgroups | gmane.comp.jakarta.oro.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_889_22389051.1150302230445 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline actually i wrote a program, where there is a text-field for regex. users write their regexes into this field. now, how a regex should they write to do this? regards On 6/13/06, Chennamsetti, Raja <[email protected]> wrote: > > You can use !Matcher.contains(pattern) > regards > > > -----Original Message----- > From: Ilhami Visne [mailto:[email protected]] > Sent: Tue 6/13/2006 5:19 AM > To: [email protected] > 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] > > ------=_Part_889_22389051.1150302230445--