I want to parse a string using regex, example of the string is
Lot: He said: Thou shalt not pass!
I want to capture Lot
as a group, and He said: Thou shalt not pass!
. However, when I used my (.+): (.+)
pattern, it returns
Lot: He said:
and Thou shalt not pass!
Is it possible to capture He said: Thou shalt not pass
using regex?