Yes, we need more info. Are you screen scraping a website, a Telnet address, just a blob of text, or an actual screenshot (just pixels)? If its just pixels, youre in for a world of hurt. If its a blob of text (such as reading screens from 1320 terminals or somesuch), you might be able to use regular expression. For website scraping, I have no idea though I know people have done it...
-Nerseus