Using RegEx to sort text in a variable?

I just updated my original macro here:
MACRO: COPY with Selection Test [Sub-Macro]

NOTE: This version uses the KM Copy Action (rather than using ⌘C)

  • It is faster if there is a selection (no pause needed)
  • Has a timeout of 2 seconds (which you can change in the Action gear menu) if there is no selection.