Originally posted by Jim Boyd
set hl7RequestTag {<return.*?</return>}set hl7RequestTagInfo [regexp -all -inline -nocase -- $hl7RequestTag $msg]set hl7Msg [lindex [string map {<return> {} </return> {} \n \r "amp;" {}} $hl7RequestTagInfo] 0]