looking for a simple input/output program to clean up data

Discussion in 'Programming' started by jrdubstep, May 25, 2011.

  1. #1
    i'm looking for a basic txt program that would take a lump of text and remove everything exept certian phrases.

    for example lets say we have this:


     document.getElementById("fb-root").appendChild(e);
    
    }());
    
    </script><span class = ""  style = "  "><fb:like href="http://jrdubstep.com/?p=340" layout="standard" show_faces="false" width="" action="like" colorscheme="light" font="" /></span><p><img alt="" src="http://i.imgur.com/bVfOC.gif" title="Dubstep" class="alignnone" width="480" height="270" /></p> 
    <p><3 reddit</p> 
    <div style="display: none">UA:D [1.9.8_1114]</div><div class="ratingblock "><div class="ratingheader "></div><div class="ratingstars "><div id="article_rater_340" class="ratepost gdsr-oxygen gdsr-size-24"><div class="starsbar gdsr-size-24"><div class="gdouter gdheight"><div id="gdr_vote_a340" style="width: 213.333333333px;" class="gdinner gdheight"></div></div></div></div></div><div class="ratingtext "><div id="gdr_text_a340" class="voted inactive">Rating: 8.9/<strong>10</strong> (9 votes cast)</div></div></div>            </div>
    
        </div>
    
        <div class="post-meta">
    
    Code (markup):
    and i wanted to remove everything execpt this:
    http://i.imgur.com/bVfOC.gif
    Code (markup):
    is there anything out there already and if not i'm willing to buy a small simple program thats capable of this type of cleaning up.

    thanks
     
    jrdubstep, May 25, 2011 IP