Using a timer for this seems silly since the TextBox has an Event that is thrown when the contents of the textbox changes, so you should be placing any of this manipulation code inside that event.