string s = "{string1}={string2}" ;
Match vMatch = Regex . Match(s, @"^\{(?<name>.+)\}=\{(?<value>.+)\}$" );
Console . WriteLine(vMatch . Result( "${name}" ));
Console . WriteLine(vMatch . Result( "${value}" ));