I am new to regex and it really confuses me. What I am trying to accomplish is finding the string between 2 specified characters where the string should contain another specified character within it.
String Example: 'Help--Me'
In this case I would be looking for the string Help Me that's between the two apostrophes and contains -- in it.
The Regex I have currently is @"(?<=\')(--.*?)(?=\')"
This seems to only work if the -- is at the beginning of the string
Example: '--HelpMe'
Thanks in advance