Loading ...
Sorry, an error occurred while loading the content.

Re: [Clip] Re: How to extract emails from a text file?

Expand Messages
  • Mike Breiding - Morgantown WV
    ... The two liner above works great. Same output at the 3 liner. Thanks! -Mike
    Message 1 of 5 , Apr 24, 2012
    • 0 Attachment
      On 4/24/2012 9:23 AM, flo.gehrke wrote:
      > --- In ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>,
      > "elibrarian22" <kim@...> wrote:
      > > This works in 6.2, extracts all email adresses to a new document.
      > > (There may be more simple ways to do this,..
      >
      > It might be worth it to have a look at diodeom's solution in message
      > #21244 of 11/13/2010:
      >
      > ^!SetListDelimiter ^p
      > ^!SetClipboard ^$GetDocMatchAll(\b[\w.%+-]+@[\w.-]+\.\w{2,4}\b)$
      > ^!Toolbar Paste New
      >
      > Maybe even '\S+@\S+' could suffice to match (almost) all adresses, and
      > you could make it a two-liner with something like...
      >
      > ^!SetClipboard ^$GetDocListAll("\S+@\S+";"$0\r\n")$
      > ^!Toolbar Paste New

      The two liner above works great.
      Same output at the 3 liner.

      Thanks!
      -Mike


      > (could only be tested against the list that we didn't see)
      > Regards, Flo
    Your message has been successfully submitted and would be delivered to recipients shortly.