From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: chaz2@thedoghousemail.com (Chaz) Newsgroups: gmane.emacs.help Subject: regexp and strings you don't want Date: 25 Aug 2003 12:45:58 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <6c185cf3.0308251145.6af55ffc@posting.google.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1061843476 15880 80.91.224.253 (25 Aug 2003 20:31:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2003 20:31:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 25 22:31:15 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19rNze-0001zS-00 for ; Mon, 25 Aug 2003 22:31:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19rNSo-0003XN-2F for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2003 15:57:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 193.63.239.165 Original-X-Trace: posting.google.com 1061840759 14434 127.0.0.1 (25 Aug 2003 19:45:59 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 25 Aug 2003 19:45:59 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:116134 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12053 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12053 Hi, I know that ^ at the start of [ ] excludes individual characters (or ranges of characters) from a regular expression search, but is there an equivalent to eliminate strings? That is, how can I search for a regular expression that does not include a specified string? For example, how can I search for a paragraph beginning with "The" that does NOT include the word "top"? Thanks Chaz