yeah but every time i go through the text change event, it's going to eat up a lot of cpu time to check that, too bad I can not break the rtb text up into lines. Then just search just that line. If they pasted something into the file then i would be screwed but, hmm, is there an easy way to break the rtb.text up into lines because i think you can only access the text as one whole part. what i am trying to do i guess is if the user types this
line 1
line 2
line 3

and the user just got done typeing on line 2 check line 2, errr just another problem to solve.