Reply To: need regexp for "everything except" Homepage › Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › need regexp for "everything except" › Reply To: need regexp for "everything except" July 1, 2005 at 3:28 pm #56966 Bill BerteraParticipant I think this is what you’re looking for: hcitcl>set a “%label%Stuff other than label” hcitcl>echo $a %label%Stuff other than label hcitcl>regexp {(%label%)(.*)} $a one two three 1 hcitcl>echo $three Stuff other than label hcitcl> [/b]