
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] Regexp
- Date: Wed, 05 May 2004 15:09:48 +0900
- From: "Daniel Quimper" <dq@example.com>
- Subject: [tlug] Regexp
- Organization: Ubit.com
- User-agent: Opera M2/7.50 (Linux, build 663)
Hi,
This question maybe unrelated to this list.
I'm looking to make an exclusion with a regular expression.
I have this software that allow me to filter text base on
a regular expression, but doesn't allow filtering on the
opposit of a regular expression.
I looking for a regular expression that would match everything
except a particuliar string. Changing the software is not an option.
ex:
Suppose the string I want to exclude is "abc".
The regexp that I'm looking for would do the same
as:
egrep -v "abc"
I tried something like
egrep "[^(abc)]"
egrep "[^a][^b][^c]"
But done gives me exactly what I'm looking for.
any idea, anyone?
Thanks,
dan...
Home |
Main Index |
Thread Index