Code: Select all
jrepl "ERROR" "" /K 1:2 /F MyLog.txt
Code: Select all
jrepl "ERROR" "" /K 1:2 /F MyLog.txt
dbenham wrote:Example 1: Store the last word of input.txt in variable lastWord.Code: Select all
call jrepl \s+ "" /match /f input.txt /rtn lastWord:-1