I want to extract a string from a piece of text. This line should begin at the end of the line.
Example:
Word 1 = "Hello"
Word 2 = "World"
Text
Hello, this is a sentence. The whole World can read this. What World?
Part of the text I want to extract:
Hello, this is a sentence. The whole World
What regular exception should I use to retrieve a string.
Note: the string "World" occurs twice.
thanks
source share