Evaluated proc symbolab_fix a { regsub -all {\\frac\{(.+?)\}\{(.+?)\}} $a "(\\1/\\2)" }