Only the content between [] is reserved, and even [] is not reserved.
path="C:/Users/Administrator/AppData/Local/Apps/4.6.1.10576/Resources/Font/SystemFont/zh-hans.ttf"><color=(1.000000, 1.000000, 1.000000, 1.000000)><size=5.000000>[ABCDD]</size></color></font>
I tried to write it this way, but there's still [
Thanks!
txt = Regex( txt, "(.[^[]{0,})\[(.[^]]{0,})]\(.{0,})", "\2", globalreplace );
get
ABCDD