I have the following regular expression:
Defaults(.*)Class=\"(?<class>.*)\"(.*)StorePath=\"(?<storePath>.*)\"
And the following string:
Defaults Class="Class name here" StorePath="Any store path here" SqlTable="SqlTableName"
I'm trying to achieve the following:
class Class name here
storePath Any store path here
But, what I'm getting as a result is:
class Class name here
storePath Any store path here SqlTable="SqlTableName"
How to stop before the Sqltable text?
The language is C# and the regex engine is the built in for .NET framework.
Thanks a lot!