How do I do this with Regex substitution?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><SIZE>[ABCDD]</SIZE></COLOR>
I tried to write it this way, but there's still [
Thanks!
txt = Regex( txt, "(.[^[]{0,})\[(.[^]]{0,})]\(.{0,})", "\2", globalreplace );
get
ABCDD
Automation and ScriptingWindowsRe: How do I do this with Regex substitution?What are you trying to achieve?
If you wish to extract values inside square brackets is it necessary to use substitution?
txt = Regex(str, "\[\[(.+)\]]\", "\1");
or even simpler (and in my opinion) preferred way in JMP
Word(2, str, "[]");