[TxMt] How to extract part of a line of code and make it a variable?