Problem setting variables with regex in Keyboard Maestro

If the number of parts is fixed, a single delimiter character (like a line break) may be enough.

See, for example: