I have the following expression:
Category = context.Categories.First(x => x.Name == "API")
I need to match all lines with this format but instead of API it can be anything, e.g., between "" it can have anything.
I tried (https://regex101.com/r/PUuxjZ/1):
(?<=Category = context.Categories.First(x => x.Name == ")(.*)(?="))
Somehow this does not match the previous string. What am I missing?