all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* help with regexp (or somethings different)
@ 2014-07-01 15:00 renato
  2014-07-01 15:45 ` Drew Adams
       [not found] ` <mailman.4655.1404229560.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: renato @ 2014-07-01 15:00 UTC (permalink / raw)
  To: Help-gnu-emacs

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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: help with regexp (or somethings different)
  2014-07-01 15:00 help with regexp (or somethings different) renato
@ 2014-07-01 15:45 ` Drew Adams
       [not found] ` <mailman.4655.1404229560.1147.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Drew Adams @ 2014-07-01 15:45 UTC (permalink / raw)
  To: renato, Help-gnu-emacs

> 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?

http://stackoverflow.com/questions/24511883/extract-address-from-garbled-input

Posting the same incomplete question here doesn't make it clearer.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help with regexp (or somethings different)
       [not found] <mailman.4652.1404228973.1147.help-gnu-emacs@gnu.org>
@ 2014-07-01 16:39 ` Emanuel Berg
  0 siblings, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2014-07-01 16:39 UTC (permalink / raw)
  To: help-gnu-emacs

renato <renato.pontefice@gmail.com> writes:

> Hi, it's almost 3 days ...

Hm, didn't you post something to this extent already?
Did you reed the feedback on comp.emacs and
gnu.emacs.help (i.e., this group)?

-- 
underground experts united:
http://user.it.uu.se/~embe8573


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help with regexp (or somethings different)
       [not found] ` <mailman.4655.1404229560.1147.help-gnu-emacs@gnu.org>
@ 2014-07-01 21:10   ` Emanuel Berg
  0 siblings, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2014-07-01 21:10 UTC (permalink / raw)
  To: help-gnu-emacs

Drew Adams <drew.adams@oracle.com> writes:

> http://stackoverflow.com/questions/24511883/extract-address-from-garbled-input
>
> Posting the same incomplete question here doesn't
> make it clearer.

It is correct that you should try to be as precise and
complete when you describe a problem. This helps people
help you, but it helps other people as well who just
reads to understand more, and last but not least it
helps *YOU* (the poster of the question), by expressing
the problem you gain an understanding of the problem,
that in turn can help you solve it...

That said, as long as there is no way to be active on
the SX sites from Emacs (is there?), and even so
actually, there is nothing wrong asking the same
question here as many people don't like those SX sites
which are Asberger OCB and dojo black-belt mania all
over the place.

At the same time there is no denying it is a good
resource for many situations...

There was a guy on this group - a Slavonic name... (?)
- who worked on some Emacs module that would allow you
to browse those sites very fast. You can do that
already for example with Emacs-w3m, but this were more
to the point. The next step, if it isn't possible
already, how to post from Emacs.

Another idea would be to hook the Emacs "tab" of the SX
sites to this list, and then hook our mail/post replies
back to them. I personally wouldn't put an effort into
it, but for those who like those sites it much suck to
have to use a browser to access and interact with the
material.

-- 
underground experts united:
http://user.it.uu.se/~embe8573


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-01 21:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-01 15:00 help with regexp (or somethings different) renato
2014-07-01 15:45 ` 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.