I have an OBX which looks like below:
OBX|1|ST|RPT-0002^Paceart PDF File Location|1|C:EPaceartEExportE�1-08-23T09-21-04 Name=ALLETSON GUID={E8FE8E13-7A3E-4606-BCCE-DACD4D5FD553}.pdf|’
I need to pull out the value of the GUID which is “E8FE8E13-7A3E-4606-BCCE-DACD4D5FD553”
I started doing this with regexp but was unable to do it . So this is what I did to grab the value:
set Obxlist [split $lastobx $fsep]
set obx5 [string trimleft [string trimright [lindex [split [lindex [split [lindex [split [lindex $Obxlist 5] ] 2] =] 1] .] 0] }] {]
I would like to know how to achieve the same result using regular expressions. Appreciate any help from regexp experts.
Thanks Alka