From: renato <renato.pontefice@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: help with regexp (or somethings different)
Date: Tue, 1 Jul 2014 08:00:40 -0700 (PDT) [thread overview]
Message-ID: <1404226840660-325872.post@n5.nabble.com> (raw)
Hi,
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___è***...
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?
TIA
Renato
--
View this message in context: http://emacs.1067599.n5.nabble.com/help-with-regexp-or-somethings-different-tp325872.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
next reply other threads:[~2014-07-01 15:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-01 15:00 renato [this message]
2014-07-01 15:45 ` help with regexp (or somethings different) Drew Adams
[not found] ` <mailman.4655.1404229560.1147.help-gnu-emacs@gnu.org>
2014-07-01 21:10 ` Emanuel Berg
[not found] <mailman.4652.1404228973.1147.help-gnu-emacs@gnu.org>
2014-07-01 16:39 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1404226840660-325872.post@n5.nabble.com \
--to=renato.pontefice@gmail.com \
--cc=Help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).