Working with the text sample you gave the the following seems to work
to give you comma separated email addresses, except for an extra comma
at the end. The find is the same as from the other thread except
doens't have the \r at the end.

find: ([^<]+)<([^>]+)>
replace with: \2,

-Kendall


On Apr 4, 6:50 am, "maciek.schejbal" <[email protected]>
wrote:
> Hi Kendall,
>
> Yes, I went through the previous post, which worked ok when the source
> was structured such that each entry was separated by a carriage
> return, in this case I have something like this:
>
> "Joh doe" <[email protected]>Rez Olution <[email protected]>Ad Ab
> <[email protected]>"Seth Ron" <[email protected]>
>
> I can't get a grip on grep, so to speak and can't figure out the
> variations. Thank you for clear directions.
>
> Maciek
>
> On Apr 3, 8:09 pm, Kendall Conrad <[email protected]> wrote:
>
> > I offered up a solution to a very similar post here in the group.
>
> >http://groups.google.com/group/bbedit/browse_thread/thread/8658d08b55...
>
> > See if you can make use of it.
>
> > -Kendall
>
> > On Apr 3, 9:23 am, "maciek.schejbal" <[email protected]>
> > wrote:> Hi,
>
> > > I have a list of emails enclosed within <> signs preceded and followed
> > > by a name and/or quotation marks and various characters, with and
> > > without spaces, carriage returns, basically total mess, except those
> > > emails inside < and > tags. How can I extract those emails, place them
> > > in a comma-delimited format and discard everything else?
>
> > > Thank you,
> > > Maciek

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

To unsubscribe, reply using "remove me" as the subject.

Reply via email to