I am using Regex to retrieve a paragraph. My paragraph in my string variable contains the beginning letter, G. and it ends with a variable, @Variable.
What pattern would I use to use to grab that paragraph? I was using the code below but I think I am really off.
Regex.Match(paragraph, @"\G. .*\@Variable$");
It would be something like this:
While you’re at it grab a copy of Expresso – makes tasks like this much easier.