Reply To: tcl help in reformating phone nubmer output Homepage › Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › tcl help in reformating phone nubmer output › Reply To: tcl help in reformating phone nubmer output August 23, 2005 at 5:04 pm #57235 Charlie BursellParticipant Just a tcl fragment. Assume the number comes in as 1234567890 set ph [lindex $xlateInVals 0] regsub — {(d{3})(d{3})(d{4})} $ph {(1)2-3} ph set xlateOutVals