From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Rod Farmer" Newsgroups: gmane.emacs.help Subject: Regular expression - replace lower case to upper case Date: Fri, 1 Nov 2002 12:33:39 +0800 Organization: Computer Science, University of Melbourne Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1036115833 28191 80.91.224.249 (1 Nov 2002 01:57:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 1 Nov 2002 01:57:13 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 187R3g-0007KY-00 for ; Fri, 01 Nov 2002 02:57:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 187R3o-0000w4-00; Thu, 31 Oct 2002 20:57:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.xtra.co.nz!news.mel.connect.com.au!news.unimelb.edu.au!mulga.cs.mu.OZ.AU!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: motion.cs.mu.oz.au Original-X-Trace: mulga.cs.mu.OZ.AU 1036114497 19411 128.250.36.132 (1 Nov 2002 01:34:57 GMT) Original-X-Complaints-To: usenet@cs.mu.OZ.AU Original-NNTP-Posting-Date: 1 Nov 2002 01:34:57 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-Xref: shelby.stanford.edu gnu.emacs.help:106634 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3184 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3184 Hi, I've been looking through the manuals and can't seem to find how to replace all occurences of HTML tags in lower case, ie with upper case as seems to be the W3C standards for 4.01 I was going to use M-x % regexp RET string RET but what I really want is something like the s/foo/bar/g where bar can actually be a reference back to the string that has been matched..... thanks heaps Rod