Hi @Ronyn77
As @Agnius said, PAD won't support multiline option in Text actions. But you can get the same via writing a .net script using run .net script action.
See below
let's say this is the text

Now use Run .net script like below

Set input and output arguments like below

Code used

Code
outputstr= System.Text.RegularExpressions.Regex.Match(inputstr,"^.*\s+RPA$",System.Text.RegularExpressions.RegexOptions.Multiline).Value.ToString
Here i am trying to capture the last line This is RPA sentence, But in the vb.net code i have set up the multiline option using System.Text.RegularExpressions.RegexOptions.Multiline
See the result after running the flow

Hope it helps !