Page 1 of 1

How to search for all occurrences that do not contain "xxxx"

PostPosted: Mon Sep 10, 2001 11:59 pm
by PNPman
To find all subjects containing (regardless of case) RedHat or Red Hat or Red_hat i would use:

redhat|red[ _]hat



Using the "Find in Subject" i would like to find all posts that do not contain redhat|red[ _]hat

Anyone know how?

RE: How to search for all occurrences that do not contain "x

PostPosted: Tue Sep 11, 2001 8:13 pm
by dexter
RegEx itself does not have a "Negate" for an entire expression although you can do it for a set. For example [^0-9]+ will return strings that have no numbers in them.

We can, programatically, negate an entire expression but we would have to add a checkbox or something that says "Negate Expression". We will consider this.

RE: How to search for all occurrences that do not contain "x

PostPosted: Wed Sep 12, 2001 4:23 am
by PNPman
Thanks for the quick reply, as usual!

Just so that you can understand why i would like this function its because i would like to read other posts besides ones that contain "xxxxx" but be able to delete without concern about accidently deleting posts i want.