Thank you very much Kendall, much appreciated! Maciek
On Apr 4, 10:50 pm, Kendall Conrad <angelw...@gmail.com> wrote: > 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" <maciek.schej...@gmail.com> > 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" <j...@act.org>Rez Olution <r...@mindspring.com>Ad Ab > > <a...@aol.com>"Seth Ron" <s...@product.com> > > > 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 <angelw...@gmail.com> 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" <maciek.schej...@gmail.com> > > > 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 bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com 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 "supp...@barebones.com" rather than posting to the group. To unsubscribe, reply using "remove me" as the subject.