You can't use a regex to determine the default solution configuration. But if the configuration you want will always start with Release, using Release.* would work. See
http://www.visualbuild.com/Manual/regex.htm for more info on regular expressions.