1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Email scraper Regex?

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

  1. zacatictac

    zacatictac Power Member

    Joined:
    May 2, 2010
    Messages:
    597
    Likes Received:
    754
    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:
    842
    Occupation:
    Software Programmer
    Location:
    USA
    \b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b
     
    • 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:
    597
    Likes Received:
    754
    Occupation:
    SEO
    Location:
    Metaverse
    Thanks man I will give that a shot. I appreciate it.