Second answer:
If you want a direct answer to your question 🙂
I think your regex is probably correct, although I would escape the < characters in the regex (making them \< ) because < by itself has a special meaning to regex.
So if you want to continue with your original solution, try that and forget the xmlkv
But your syntax is a bit wrong, too, I think you need the following in transforms.conf
[commandId]
REGEX=\<CommandId>(d+)\</CommandId>
FORMAT=commandid::$1
Yeah, the markdown gets screwy sometimes when you put in XML or HTML stuff...
... View more