I need a REGEX to find only 4th sentence which is: “I need this sentence to be catched by regex”
Only criteria is that the 2nd sentence is fixed, it never changes so we need to use it in regex, other sentences can change.
For example, I can find the 3rd sentence by using this:
(?<=Hello My Name is Jennifer[\n\r]+).*(?=[\n\r]+)
I need a similar solution based on the 2nd sentence to catch 4th one this time.
Thanks in advance.