Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get text between parentheses
#2
Macro Macro1561
Code:
Copy      Help
str s=
;Long window name1 (shortwindownname1)
;Long window name2 (shortwindownname2)
;Long window name3 (shortwindownname3)

str x y
foreach x s
,if(findrx(x "\(([^()]+)\)$" 0 0 y 1)<0) continue
,out y


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)