title: Search with regular expressions in Coded UI
body: <p>I use Coded UI in VS2012.
  I would like to solve an interesting problem.
  For example, there is an application which has got a window and it has got a title with dynamic content.
  I would like to search this window via it's title.
  The next titles are the possible cases:</p>
  
  <pre><code>"AAAAAAAA This is a window title ASDASDASD or"
  "BBBBBBBB This is a window title WSDWSDWSD or not"
  "CCCCCCCC This is a window title ASDASDASD or"
  "........ This is a window title ASDASDASD"
  </code></pre>
  
  <p>I would like to search something which contains "<strong>This is a window</strong>" and "<strong>or not</strong>".
  If i could use regex, i use the following expression to find this title: <strong>*This is a window*or not*</strong>.</p>
  
  <p>I emphasize, that is only an example. The essential is there is a title which contains some fix strings.</p>
  
  <p>I know, that a UITestControl has PropertyExpressionCollection which name is SearchProperties.
  I can add to it a PropertyExpression(propertyName, propertyValue, conditionOperator) object.
  The problem is: i can decide the SearchProperties with two step (formally):</p>
  
  <pre><code>WinWindow.SearchProperties.Add(WinWindow.PropertyNames.Name,"This is a window", PropertyExpressionOperator.Contains);
  WinWindow.SearchProperties.Add(WinWindow.PropertyNames.Name,"or not", PropertyExpressionOperator.Contains);
  </code></pre>
  
  <p>How can i do it in one simple step?
  Or which solution can implement this requirements?</p>
  
  <p>Thanks in advance,
  Peter</p>