KM Variable Array references for colon-delimited lines

Using Keyboard Maestro Array Variables to split lines and key: value pairs:

KM Variable Array references for colon-delimited lines.kmmacros (4.3 KB)


A variant on the theme of this thread:

https://forum.keyboardmaestro.com/t/why-does-this-regex-not-work-on-this-block-of-text

2 Likes

3 Tips to Avoid the Plague - by a Keyboard Maestro student of @ComplexPoint:

Tip #1:

Avoid contact with rodents and their fleas.

Tip #2:

Get rid of places where rodents and stray animals sleep, hide, or find food around your home.

Tip #3:

Stay away from Regular Expressions.

:slightly_smiling_face:

1 Like

:slight_smile: or perhaps:

  1. Never trust a Regular Expression that is longer than the last joint of your thumb,
  2. search + replace is not their natural habitat – they're made for testing and splitting,
  3. they're sources of complexity, and thieves of time.
1 Like