any nice programmers on here who can do me a big favour?

Discussion in 'Computers' started by ShiftZZ, Feb 13, 2012.

  1. ShiftZZ

    ShiftZZ Funster Life Member

    Joined:
    Feb 19, 2008
    Messages:
    19,821
    Likes Received:
    35,877
    Location:
    Leicestershire
    I am looking at a webpage and I can see the source code and I want to be able to do what he/she has done in extracting e-mail addresses from a text file...

    The coding is as follows. Wharts and all....

    is it possible to have something simple written so that I can do the extraction locally?

    I know its asking a lot.

    Dave

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta name="description" content="Fast, powerful email address extractor. Extracts email addresses instantly, right on this webpage. No need to download any software. Click here to use this tool.">
    <meta name="keywords" content="email, email address, extractor, lite 1.4">

    <script language="javascript"><!--
    var divIds = Array("main");
    var newurl = "http://www.bigbooster.com/mpl/vmg/1/xxxx";
    var alertTexts = ["*****************************************************\n\n\n\nWAIT !! Press the CANCEL button now...\n\n\nand you'll be able to read about a POWERFUL generic tool you can use to build your downline in any MLM or Affiliate Program!\n\n\n\n*****************************************************"];
    // -->
    </script>
    <script src="/include/exit_popup_bb_redir.js"></script>
    <script language="JAVASCRIPT" type="text/javascript">
    <!-- Begin

    // Created and Copyrighted by Benjamin Leow
    // Please go to http://www.surf7.net for latest version and more freeware

    function copy() {
    highlight();
    textRange = document.extractor.rawdata.createTextRange();
    textRange.execCommand("RemoveFormat");
    textRange.execCommand("Copy");
    window.alert("The content has been copied to your clipboard.");
    }

    function highlight(){
    document.extractor.rawdata.focus()
    document.extractor.rawdata.select()
    }

    function checksep(value){
    if (value) document.extractor.sep.value = "other";
    }

    function numonly(value){
    if (isNaN(value)) {
    window.alert("Please enter a number or else \nleave blank for no grouping.");
    document.extractor.groupby.focus();
    }
    }

    function findEmail() {
    var email = "No email address detected";
    var a = 0;
    var ingroup = 0;
    var separator = document.extractor.sep.value;
    var groupby = Math.round(document.extractor.groupby.value);

    if (separator == "new") separator = "\n";
    if (separator == "other") separator = document.extractor.othersep.value;
    var rawemail = document.extractor.rawdata.value.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]+)/gi);
    var norepeat = new Array();
    if (rawemail) {
    for (var i=0; i<rawemail.length; i++) {
    var repeat = 0;

    // Check for repeated emails routine
    for (var j=i+1; j<rawemail.length; j++) {
    if (rawemail == rawemail[j]) {
    repeat++;
    }
    }

    // Create new array for non-repeated emails
    if (repeat == 0) {
    norepeat[a] = rawemail;
    a++;
    }
    }
    if (document.extractor.sort.checked) norepeat = norepeat.sort(); // Sort the array
    email = "";
    // Join emails together with separator
    for (var k = 0; k < norepeat.length; k++) {
    if (ingroup != 0) email += separator;
    email += norepeat[k];
    ingroup++;

    // Group emails if a number is specified in form. Each group will be separate by new line.
    if (groupby) {
    if (ingroup == groupby) {
    email += '\n\n';
    ingroup = 0;
    }
    }
    }
    }

    // Return array length
    var count = norepeat.length;

    // Print results
    document.extractor.count.value = count;
    document.extractor.rawdata.value = email;
    }
    // End -->
    </script>
    <style type="text/css">
    body { background:#FFF }
    .extractorfont { font: normal normal normal 10pt/1em Verdana; color: #000; }
    a:link, a:visited { text-decoration: underline; color: #059; }
    a:active, a:hover { text-decoration: underline; color: purple; }
    .bordercolor { background:#666 }
    .maincolor { background:#CCC }
    .button { background:#CCC }
    .titlebarcolor { background:#007 }
    .titlefont { font: normal normal bold 10pt/1em Verdana; color: #FFF; }
    .copyrightfont { font: normal normal normal 7.5pt/1.5em Verdana; color: #666; }
    </style>

    <title>Email Extractor Lite 1.4</title>
    </head>
    <body>

    <!-- JBP ad begin -->
    <script type="text/javascript">var jbp_referrer="bigbooster"</script>
    <script type="text/javascript" src="/javascript/jbp_ad_1.js"></script>
    <!-- JBP ad end -->

    <table style="width:870px; border:1px solid black; margin:auto auto" cellpadding="3" cellspacing="0" border="0">
    <tr>
    <td colspan="2">
    <p style="text-align:center"><img src="http://www.justbeenpaid.com/images/synergy_title_2.jpg" width="800" height="200" alt="JBP's Synergy Surf" border="0"></p><br />

    <div align="center">
    <h1><b>Free Email Address Extractor</b></h1>
    <p><font color="#6666FF"><b><font color="#3333FF" face="Arial, Verdana">Bookmark this page because you never know<br>when you may want to come back and use it again!</font></b></font></p>
    <p>(Provided as a courtesy by <a href="/business_opportunities/">BigBooster.com</a>.)</p>
    </td>
    </tr>
    <tr>
    <td colspan="2>
    <div id="main">
    <div align="center">
    <form name="extractor">
    <table class="bordercolor" cellpadding=1 cellspacing=0 border=0><tr><td>
    <table class="maincolor" cellpadding=8 cellspacing=0 border=0>
    <tr class="titlebarcolor">
    <td valign="TOP" colspan=2 colspan=2><font class="titlefont">Email Extractor Lite 1.4</font></td>
    </tr>
    <tr>
    <td valign="top" align="center" colspan=2>
    <script language="JAVASCRIPT">
    var introtext = 'Copy text from any source and paste it into here. Then click extract button. You can select different separator (or enter your own), group a number of emails and sort extracted emails alphabetically.';
    document.write('<textarea name="rawdata" rows=12 cols=80 onFocus="if (this.value == introtext) this.value = \'\';">' + introtext + '</textarea>');
    </script>
    </td></tr>
    <tr>
    <td valign="top" align="left" colspan=2>
    Separator:
    <select name="sep">
    <option value=", ">Comma</option>
    <option value="|">Pipe</option>
    <option value=" : ">Colon</option>
    <option value="new">New Line</option>
    <option value="other">Other</option>
    </select>
    <input type="text" name="othersep" size=3 onBlur="checksep(this.value)">
    &nbsp;&nbsp;
    Group: <input type="text" size=3 name="groupby" onBlur="numonly(this.value)"> Emails
    &nbsp;&nbsp;
    <label for="sortbox"><input type="checkbox" name="sort" id="sortbox">Sort<br></label><p style="text-align:right; margin-top:0px">Alphabetically</p>
    </td></tr>
    <tr valign="top"><td align="left">
    <input type="button" class="button" value="Extract" onClick="findEmail()">
    <input type="reset" class="button" value="Reset">
    <script language="JavaScript" TYPE="text/javascript">
    <!--
    if ((navigator.appName=="Microsoft Internet Explorer")&&(parseInt(navigator.appVersion)>=4)) {
    document.write('<INPUT TYPE="BUTTON" CLASS="button" VALUE="Copy To Clipboard" onClick="copy();">');
    } else {
    document.write('<INPUT TYPE="BUTTON" CLASS="button" VALUE="Highlight All" onClick="highlight();">');
    }
    // -->
    </script>
    </td>
    <td align="right" valign="bottom" nowrap>
    Email count: <input name="count" size=5 readonly>
    </td>
    </tr>
    </table>
    </td></tr></table>
    </form>
    <br>
    <font class="copyrightfont">&copy; 2002 Benjamin Leow - All Right Reserved<br>Go to <a href="http://www.surf7.net">Surf7 Network</A> for latest version and more freeware.</font>
    </div>
    <br />
    </td>
    </tr>
    <tr>
    <td colspan="2">
    <table style="width:100%; padding:10px">
    <tr>
    <td>
    <a class="FlowPlayer" href="http://static.justbeenpaid.com/movies/VerySatisfying.mp4" id="Movie005" style="display:block;width:400px;height:300px; margin: 0px auto;"><img src="http://static.justbeenpaid.com/movies/VerySatisfying.jpg" alt="Very Satisfying" style="width:400px;height:300px;" /></a>
    <script language="JavaScript">
    flowplayer('Movie005', 'http://static.justbeenpaid.com/swf/flowplayer-3.2.7.swf', { clip: {autoPlay: true, autoBuffering: true} });
    </script>
    </td>
    <td>
    <a class="FlowPlayer" href="http://static.justbeenpaid.com/movies/carlp.mp4" id="Movie006" style="display:block;width:400px;height:300px; margin: 0px auto;"><img src="http://static.justbeenpaid.com/img/jbp/carlVideo.jpg" alt="Very Satisfying" style="width:400px;height:300px;" /></a>
    <script language="JavaScript">
    flowplayer('Movie006', 'http://static.justbeenpaid.com/swf/flowplayer-3.2.7.swf', { clip: {autoPlay: true, autoBuffering: true} });
    </script>
    </td>
    </tr>
    </table><br />

    <p style="text-align:center; font-size:22px; color:navy"><b>Remarkable Breakthroughs to Multiply Your Time and Money<br />into an Ever-Growing, Indefinitely-Sustainable Income Stream!<br />-- Also Use JBP's Synergy Surf to Promote, Grow, and Explode<br />Practically Any Other Business, Product, or Service!</b></p>
    <p style="text-align:center; font-size:21px; color:navy">After Being Involved Since 1993 in a Wide Range of<br />Money-Promising Programs -- with Considerable Success --<br />Frederick Mann -- in Several Strokes of Genius --<br />Finally Makes the Revolutionary Breakthroughs that<br />Make JBP's Synergy Surf as Success-Guaranteed as Possible!</p>
    <br />

    <p style="width:800px; border:8px dashed darkgreen; background-color:yellow; padding:10px; color:red; font-size:25px; margin:auto auto; text-align:center">Test Drive JBP's Synergy Surf for FREE to See How It Works -- without Risking Any Money -- <a target="new" href="http://www.justbeenpaid.com/?r=bigbooster&p=synsurf1v"><b>Open a FREE Account</b></a> -- Then Log In and Click "JSS (Synergy Surf)."</p>
    <br />

    <table style="width:100%; padding:10px" border="1">
    <tr>
    <td width="30%" style="padding:5px">
    <p>JustBeenPaid! has become a huge success with the launch of JBP's Synergy Surf! The main factors are:</p>
    <ol>
    <li>JBP's Synergy Surf (JSS) Triples Your Money.</li><div style="font-size:8px"><br /></div>
    <li>No sponsoring requirements.</li><div style="font-size:8px"><br /></div>
    <li>You earn 25% referral commission on your first level and 12.5% on your second.</li><div style="font-size:8px"><br /></div>
    <li>Daily compounding and withdrawals to maximize your earnings.</li><div style="font-size:8px"><br /></div>
    <li>Indefinitely sustainable -- Frederick Mann has solved the "sustainability problem" nobody else I know of has been able to solve so far.</li><div style="font-size:8px"><br /></div>
    <li>Passive members can buy "placements" to speed up the rate at which their matrixes get filled.</li><div style="font-size:8px"><br /></div>
    <li>The JSS Test-Drive System (TDS) enables people, without eisking any money, to get a first-hand experience of how JSS works and triples their money. TDS is an extremely powerful marketing booster.</li>
    </ol>
    </td>
    <td style="padding:5px">
    <p>Since around 1997, there have been thousands of "passive" money-promising programs that can be classified under these categories:</p>

    <blockquote>
    <p># HYIPs</p>

    <p># Autosurfs</p>

    <p># Matrix Programs</p>

    <p># Traffic-Exchange Surfs</p>

    <p># Gifting Programs</p>
    </blockquote>

    <p>"Passive" programs are ones that have no sponsoring requirements, enabling "passive members" to make money by putting money into the programs, but not having to sponsor anyone.</p>

    <p>Millions of people have participated and are now participating in these programs.</p>

    <p>Some people have made a great deal of money with some of these programs by following a powerful formula (or some variation of it):</p>
    <ol>
    <li>Get in early.</li><div style="font-size:8px"><br /></div>
    <li>Get in with "significant" money</li><div style="font-size:8px"><br /></div>
    <li>If the program performs well, do some early compounding.</li><div style="font-size:8px"><br /></div>
    <li>Sponsor as many people as possible to earn referral fees.</li><div style="font-size:8px"><br /></div>
    <li>Withdraw your original risk capital as soon as appropriate to get into a "can't-lose" position.</li><div style="font-size:8px"><br /></div>
    <li>Parlay, compound, or let run some of your profits.</li><div style="font-size:8px"><br /></div>
    <li>Think in terms of maximizing the money you "take off the table."</li><div style="font-size:8px"><br /></div>
    <blockquote>Much of the power of this formula is that it enables you to make money with programs that fail after a few months, but if a reasonably good program lasts 6 months or longer, you could earn tens of thousands.</blockquote>
    <li>Frederick Mann has used an addition to the above formula he calls "bandwagon marketing." For an example of how he has applied this to Adventures4U (AV4U), <a target="new" href="http://www.justbeenpaid.com/?r=bigbooster&p=synsurf5"><b>Click Here!</b></a></li>
    </td>
    </tr>
    </table><br />

    <p style="text-align:center; font-size:30px; color:red"><b>JBP's Synergy Surf is Part of the JustBeenPaid! Program.</b></p>
    <br />

    <center>
    <table>
    <tr>
    <td>
    <p style="text-align:center"><a target="new" href="http://www.monsterprelaunch.com/emo2/1#jbp"><img src="http://monsterprelaunch.com/images/mpl-synergy-partner.png" alt="Synergy Partner" width="200" height="200" border="0"></a></p>
    </td>
    <td>
    <p style="font-size:30px; text-align:center; color:red"><b><a target="_blank" href="http://www.justbeenpaid.com/?r=bigbooster&c=bb01">JustBeenPaid!</a> Moneymaking Breakthrough of the Decade!</b></p>

    <p style="text-align:center; margin-bottom:5px"><a target="_blank" href="http://www.justbeenpaid.com/?r=bigbooster&c=bb01"><img src="http://www.bigbooster.com/images/banners/bb_1_small.gif" width="468" height="60" border="0" alt="Make Money"></a></p>
    </td>
    </tr>
    <tr>
    <td colspan="2" style="color:red; background-color:#CCFFCC; font-size:20px; text-align:center"><b>Place Your Own Customized Version of this Advertisement<br />on Your Website or Blog and Make a Fortune!</b></td>
    </tr>
    </table>
    </center>
    <br /><br />

    <div style="width:260px; float:left; font-size:14px; background-color:lemonchiffon; border:1px solid black; padding:5px; margin-right:15px; margin-left:10px; margin-bottom:10px; margin-top:-15px">
    <p><script type='text/javascript' language='JavaScript'
    src='http://xsltcache.alexa.com/traffic_graph/js/g/a/6m?&u=www.justbeenpaid.com'></script></p>
    </div>

    <div style="text-align:left; color:red; background-color:#CCFFCC; font-size:20px; border:3px blue solid; padding:15px">

    <p style="font-size:20px">JustBeenPaid! has profound implications for online moneymakers. With JBP, any individual, group, or organization has the potential to improve their finances dramatically.</p>

    <p style="font-size:20px">People are joining JBP in droves. The Alexa traffic chart (above, left) provides an indication of JBP's popularity. If the chart goes above 20,000 and stays there, it would indicate that JBP is among the top 20,000 websites worldwide, in terms of visitor accesses.</p>

    <p style="font-size:20px">You can sign up for JBP for free: <a target="new" href="http://www.justbeenpaid.com/?r=bigbooster&c=bb04"><b>JustBeenPaid! = Moneymaker Extraordinaire!"</b></a></p>

    <ol>
    <li>JBP is not MLM. JBP essentially utilizes the "Direct Retail Sales" Business Model. When members upgrade, they pay $20 (or $10, while our "special half-price upgrade" is available) to JBP Admin, who daily pays out $15 (or $5 for the "special half-price upgrade") to their Sponsors.<br /><br />
    <li>Because the Sponsor payments are made daily, there's little waiting for the company to pay you. Practically no risk of the company not paying you.<br /><br />
    <li>Great risk/reward ratio -- you risk $20 (or $10) with the potential for unlimited earnings.<br /><br />
    <li>No sponsoring requirements -- you can buy your downline.<br /><br />
    <li>The $20 payments are renewable every 3 months. This provides you with residual income.<br /><br />
    <li>JBP also utilizes a "modified 1-up system." Members on your first level pass their third sale up to you. These passed-up members in turn each passes their third sale up to you. This progression can continue indefinitely, eventually exploding your earnings.<br /><br />
    <li>JBP has a "High-Performance Bonus." Suppose someone in your downline promotes JBP actively and extensively. He or she passes every tenth sale up to you. This can further explode your earnings in the long run.
    </ol>

    <p style="font-size:20px"><a target="new" href="http://www.bigbooster.com/business_opportunities/biz_01.html"><b>Discover How to Use $20 to Start a most Profitable Business!</b></a></p>

    </div><br />

    <!-- Begin Ad segment -->
    <div align="center" style="border:2px solid red">
    <table style="padding:10px">
    <tr>
    <td colspan="3">
    <p style="text-align:center"><a target="new" href="http://www.monsterprelaunch.com/emo2/1"><img src="http://www.monsterprelaunch.com/images/banners/mpl-a-2.gif" width="580" height="100"></a></p>
    <form method="get" action="http://search.freefind.com/find.html">
    <input type="hidden" name="id" value="1363551">
    <input type="hidden" name="pageid" value="r">
    <input type="hidden" name="mode" value="ALL">
    <font face="Arial, Verdana" size="3"><b>Search this Site:</b></font><br />
    <input type="text" name="query">
    <input type="submit" name="Submit" value="Search">
    </form>
    <hr />
    </td>
    </tr>
    <tr>
    <td>
    <p style="font-size:20px; color:red"><b>The Easiest Way to Become a Successful Online Entrepreneur = ...</b></p>
    </td>
    <td>
    <p style="font-size:20px"><a target="new" href="http://www.twitter.com/bigbooster"><b>Follow Frederick Mann (bigbooster) on Twitter!</b></a></p>
    </td>
    <td>
    <p><a target="new" href="http://www.twitter.com/bigbooster"><img src="http://www.bigbooster.com/images/fred2c.jpg" width=""160" height="118"></a></p>
    </td>
    </tr>
    <tr>
    <td colspan="3">
    <hr />
    <p style="text-align:center; font-size:18px"><a target="new" href="http://www.bigbooster.com/business_opportunities/"><b>Click Here to Find out How to Monetize Your Website</b></a></p>
    </td>
    </tr>
    </table>
    </div>
    <!-- End Ad segment -->

    </td>
    </tr>
    </table>
    </body>
    </html>
     
  2. wizzer59

    wizzer59 Funster

    Joined:
    Apr 18, 2009
    Messages:
    2,872
    Likes Received:
    2,677
    Location:
    Englishman in Mid Wales
    No:Smile:
     
  3. ShiftZZ

    ShiftZZ Funster Life Member

    Joined:
    Feb 19, 2008
    Messages:
    19,821
    Likes Received:
    35,877
    Location:
    Leicestershire
    Too late, Sundance has done the job, send me the file, sorted...

    SUNDANCE...
    :thanks2::clap:
     
    • Like Like x 2
  4. Road Runner

    Road Runner Read Only Funster

    Joined:
    Jul 26, 2007
    Messages:
    14,196
    Likes Received:
    1,459
    Location:
    Europe
    Bu^^er just as I was going to step in as well:Sad:

    If he does get out of his depth give me a bell.......:Cool:
     
    • Like Like x 1
  5. Johns_Cross_Motorhomes

    Johns_Cross_Motorhomes Trader - Motorhome & Accessory Sales

    Joined:
    Jan 5, 2008
    Messages:
    9,246
    Likes Received:
    5,197
    Location:
    East Sussex 01-580-881288
    Looks dead dodgy to me, another get rich quick pyramid scam.

    Peter
     
    • Like Like x 4
  6. 1_man_and_his_dob(lo)

    1_man_and_his_dob(lo) Funster

    Joined:
    Feb 4, 2010
    Messages:
    2,253
    Likes Received:
    1,516
    Location:
    Mid. Glamorgan, S. Wales
    The ShiftZZ spambot army gets ever closer...
     
    • Like Like x 2
  7. jhorsf

    jhorsf Read Only Funster

    Joined:
    May 15, 2009
    Messages:
    9,157
    Likes Received:
    8,067
    Location:
    DERBYSHIRE
    I do not know about understand that gobbledegook I could not even find all the symbols to type it:Rofl1:
     
    • Like Like x 1
  8. pappajohn

    pappajohn Funster Life Member

    Joined:
    Aug 26, 2007
    Messages:
    29,452
    Likes Received:
    16,883
    Location:
    YO11 2BD
    :Doh: copy and paste
     
    • Like Like x 2
  9. johnp10

    johnp10 Funster

    Joined:
    Oct 12, 2009
    Messages:
    7,638
    Likes Received:
    14,190
    Location:
    North Lincolnshire
    SHIIIIT!
    I understood that.
    Will book an appointment asap.
     
  10. GJH

    GJH Funster Life Member

    Joined:
    Aug 20, 2007
    Messages:
    27,229
    Likes Received:
    34,415
    Location:
    Acklam, Teesside, originally Glossop
    Told you about drinking undiluted Vimto, doesn't do you any good.
     
    • Like Like x 1
  11. tofo

    tofo Funster

    Joined:
    Oct 1, 2007
    Messages:
    6,587
    Likes Received:
    6,213
    Location:
    Kirby cross further from londin



    Glad I am bald
    cause that lot went straight through one ear and out the other eye :Blush:
     
Loading...

Share This Page