From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: help with regexp (or somethings different) Date: Tue, 1 Jul 2014 08:45:37 -0700 (PDT) Message-ID: <29ec264b-4f90-467a-86cc-ac0f0342b6c4@default> References: <1404226840660-325872.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1404229587 14601 80.91.229.3 (1 Jul 2014 15:46:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jul 2014 15:46:27 +0000 (UTC) To: renato , Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 01 17:46:21 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X20G9-0001P6-0f for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Jul 2014 17:46:17 +0200 Original-Received: from localhost ([::1]:48487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X20G8-0002Nb-L3 for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Jul 2014 11:46:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X20Fi-0002Cs-PY for Help-gnu-emacs@gnu.org; Tue, 01 Jul 2014 11:45:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X20Fb-0007V6-3H for Help-gnu-emacs@gnu.org; Tue, 01 Jul 2014 11:45:50 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:46757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X20Fa-0007Uu-Se for Help-gnu-emacs@gnu.org; Tue, 01 Jul 2014 11:45:43 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s61Fjc4l010147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 1 Jul 2014 15:45:39 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s61FjcBU027829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Jul 2014 15:45:38 GMT Original-Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s61FjcCJ025996; Tue, 1 Jul 2014 15:45:38 GMT In-Reply-To: <1404226840660-325872.post@n5.nabble.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98483 Archived-At: > it's almost 3 days that I'm juggling with regexp on emas. > I need to find some quite regular string, inside my file, and convert it. > i.e.: I have (this is a text file from a .pdf) > 123 jks STREETlkj___=C3=A8***... > I would convert it in: > 123#STREET > so, I want to delete some text, and add a # in place of space. > How can I obtain it? http://stackoverflow.com/questions/24511883/extract-address-from-garbled-in= put Posting the same incomplete question here doesn't make it clearer.