I can get these values from item:
or
I would like to regexp that by something like
and want to get
At now, I can get "OK" or "NO" easilly but I don't know how to create something like "if"
How can I make it please?
Code:
OK LOGIN Completed
Code:
NO LOGIN Error message
Code:
.*(OK|NO) LOGIN(.*)
Code:
if ok return value \1, if NO then return value \2 (that Error mesage)
How can I make it please?
2 steps... stupid me...
Comment