If you are referring to this:
then, yes, it is just a KM Variable name that I have assigned to this Action. For more info see For Each action.
It depends on the purpose/objective of your workflow, and what specific results you want. KM supports RegEx in a variety of Actions. For more info see Regular Expressions . This KM article shows examples of three of the most common uses of RegEx in KM.
I'm not sure if you are referring to KM in general, or to RegEx. RegEx is a complex language separate and apart from KM, and is NOT easy to learn.
The way to learn the syntax of any language, including KM, is to study the tutorials and user guides for that language, and then to actually write programs (macros, scripts, code) using that language. Just like in school, the real learning comes with the doing, and doing your homework, first with simple examples, is a good approach.
You say you " have no idea how to find out what the commands even mean".
KM provides lots of places to easily get help/info on the objects (Macros, Actions, Tokens, Functions, etc) that it uses:
- In the Action Gear menu (top right of Action) there is a "help" item
- When you view the menu to select an Action, Token, or Function, hold down the OPT key to get a link to the KM Wiki Help for that item
- Then there is the entire Keyboard Maestro Wiki itself. Starting on its home page, or searching using its Search tool, you can easily find details on every KM entity.
To learn RegEx, I suggest starting with Regular Expression Tutorial .
Finally, I'll leave you with this:
Getting Started with Keyboard Maestro
- Read the Quick Start.
- This is essential to become familiar with KM terminology
- Do the tutorial (Help ➤ Tutorial) in the KM Editor.
- Gives you a live walkthrough of creating a macro in the KM Editor
- Review/Browse the Available Macro Actions
- For Help with an Action in your Macro, click on the gear icon
at the top right of the Action, and select "Help"
- Search the Keyboard Maestro Wiki for detailed help.
- Start small, and grow your macros organically.
- Be prepared for some trial and error in the beginning.
- Make good use of this Keyboard Maestro Forum
- Checkout these Great Resources
- Search for existing macros
- Post your questions/issues if you get stuck
- Be sure to first read: Tip: How Do I Get The Best Answer in the Shortest Time?
For more help, see Getting Started with Keyboard Maestro and the Forum .