The regular expression would be:
{REGEX(Match|{TASK(PrevTask|StdOut)}|^job: .*)}
The regex meaning:
^ - anchor to the start of the string
job: - Match the literal characters "job: " (includes the space)
. - followed by any character
* - followed by zero or more of the previous character
So based on your comment, I think what you really want to do is create a job variable called maybe JobTextFilename, than after the SSH task, create an Internal/Set job variable task with this answer as the value.
To save just the "aka00029" part of the string, use MatchGetGroup, Which lets you group a part of the match with parenthesis, then refer to it numerically from left to right as the group to return.
{REGEX(MatchGetGroup|{TASK(PrevTask|StdOut)}|^job: (.*)|1)}
Edited by user
2019-02-12T14:59:16Z
|
Reason: Not specified