Can anyone help me, im going nuts on this.. Im trying to take out the name and title from the person in this string.
Example 1:
Your telepathic efforts are successful, and the mind of Terri Lothain is locked
with your own.
Example 2:
Your telepathic efforts are successful, and the mind of Mist of the Shadows,
Zith Q'azis, Vanishing Light is locked with your own.
Example 3:
Your telepathic efforts are successful, and the mind of Mist of Shadows, Zith
Q'azis, Vanishing Light is locked with your own.
Technicly I want to get evrything between "mind of " to " is locked". The problem im having is when there's a new line inbetween and I dont know where. I've tried: ^Your telepathic efforts are successful\, and the mind of (?s)(.*) is locked with your own\.$ but not only does %1 it give this: "[string "Trigger: "]:1: unfinished string near `"wtf Mist of the Shadows,'". It does'nt work for example 1...
I would be very grateful for any help I could get. Thank you.
Example 1:
Your telepathic efforts are successful, and the mind of Terri Lothain is locked
with your own.
Example 2:
Your telepathic efforts are successful, and the mind of Mist of the Shadows,
Zith Q'azis, Vanishing Light is locked with your own.
Example 3:
Your telepathic efforts are successful, and the mind of Mist of Shadows, Zith
Q'azis, Vanishing Light is locked with your own.
Technicly I want to get evrything between "mind of " to " is locked". The problem im having is when there's a new line inbetween and I dont know where. I've tried: ^Your telepathic efforts are successful\, and the mind of (?s)(.*) is locked with your own\.$ but not only does %1 it give this: "[string "Trigger: "]:1: unfinished string near `"wtf Mist of the Shadows,'". It does'nt work for example 1...
I would be very grateful for any help I could get. Thank you.