I have the following string
[function('lookup')]
I want to extract the string lookup from the string above.
Tried doing using
var lookup = Regex.Match("[function('lookup')]", @"'\b\w*\b'").Value;
I end up getting 'lookup' with the single quotes instead of just lookup.
Where am I going wrong ?
function. Is there a better way to directly extract outlookup?