Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variable characters!!Pls pls help me!!
#2
This macro gets clipboard text, removes characters within [ ], and puts the modified text into the clipboard.

Code:
Copy      Help
str s.getclip
s.replacerx("(?<=\[)[^\]]+(?=\])")
;s.replacerx("\[[^\]]+\]") ;;to remove [] too, use this instead
s.setclip


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)