AnsweredAssumed Answered

Parse text untill end of line

Question asked by firebase on Oct 23, 2016
Latest reply on Oct 23, 2016 by firebase

I want to serch for a specific word and get everything after it untill end of line

Untill now I was using the custom function called "After" https://www.briandunning.com/cf/643 but this one is getting everything after the text even the next line.

 

Here is an example of what I am looking for:

 

Some Text Some Text Some Text

Some Text Some Text Some Text

Some Text Some Text Some Text

XYZTextToParse

Some Text Some Text Some Text

Some Text Some Text Some Text

 

Or

 

Some Text Some Text Some Text

Some Text Some Text Some Text

Some Text Some Text Some Text

XYZTextToParse

 

Should result in

 

TextToParse

 

So there is sometime a new line feed and sometimes not.

 

Any ideas?

Outcomes