I have a string like so
This is a (Lock)item response(Unlock) and (Lock)request(Unlock)
I need to get all the strings between the prefix (Lock) and suffix (Unlock)
I need to get
- item response
- request
I am working in c# and have tried the following
(?:(Lock))(.*)(?:(Unlock))
(?<=(Lock))(.*)(?=(Unlock))
Not sure what to put in the middle part in place of (.*)