this will strip mIRC color and control codes: regsub -all {([\002\017\026\037]|[\003]{1}[0-9]{0,2}[\,]{0,1}[0-9]{0,2})} $str {} str and this will match a hotlink (clickable URL) or chan ad: regexp {(?i)(http://|www\.|irc\.|\s#)} $str thats the problem, i know those codes and was using them. but unf...