Email scraper Regex?

Discussion in 'Visual Basic .NET' started by zacatictac, Mar 24, 2011.

Thread Status:
Not open for further replies.
  1. zacatictac

    zacatictac Power Member

    Joined:
    May 2, 2010
    Messages:
    654
    Likes Received:
    768
    Occupation:
    SEO
    Location:
    Metaverse
    Any of you VB programmers out there know of a decent regex to scrape emails? I wrote a decent one but it has its faults.
     
  2. captchaman

    captchaman Junior Member

    Joined:
    Sep 16, 2010
    Messages:
    190
    Likes Received:
    843
    Occupation:
    Software Programmer
    Location:
    USA
    • Thanks Thanks x 1
  3. lwelch45

    lwelch45 Junior Member

    Joined:
    Mar 24, 2010
    Messages:
    135
    Likes Received:
    38
    Home Page:
    yep thats good
     
    • Thanks Thanks x 1
  4. zacatictac

    zacatictac Power Member

    Joined:
    May 2, 2010
    Messages:
    654
    Likes Received:
    768
    Occupation:
    SEO
    Location:
    Metaverse
    Thanks man I will give that a shot. I appreciate it.
     
  5. fastlinks

    fastlinks Power Member

    Joined:
    Feb 4, 2015
    Messages:
    616
    Likes Received:
    77
    ([a-z0-9][-a-z0-9_\+\.]*[a-z0-9])@([a-z0-9][-a-z0-9\.]*[a-z0-9]\.(com|net))

    (com|net) add the domain extension you need inside
     
  6. Zwielicht

    Zwielicht Super Moderator Staff Member Moderator Jr. VIP

    Joined:
    Aug 31, 2013
    Messages:
    12,958
    Likes Received:
    18,187
    Gender:
    Male
    Occupation:
    Death
    Location:
    Southern California
    Home Page:
Thread Status:
Not open for further replies.