У меня есть следующее регулярное выражение:
Defaults(.*)Class=\"(?<class>.*)\"(.*)StorePath=\"(?<storePath>.*)\"
И следующая строка:
Defaults Class="Class name here" StorePath="Any store path here" SqlTable="SqlTableName"
Я пытаюсь добиться следующего:
class Class name here
storePath Any store path here
Но в результате я получаю:
class Class name here
storePath Any store path here SqlTable="SqlTableName"
Как остановиться перед текстом Sqltable?
Язык - C #, а механизм регулярных выражений - встроенный для.NET Framework.
Большое спасибо!