I have a string of text like the following:
Image 56 ::: Beach, Summer, Sun !!! John Smith ???
I'd like to extract just John Smith
Ive tried (?s)(?<=\!\!\!).+?(?=\?\?\?})
and (\!\!\!)(?:[^])*?(\?\?\?)
but the first one doesn't work, and the second one gives the result !!! John Smith ???
not just John Smith. Can you offer some help? Thank you