title: C#. Selenium. Regex in Find Element
body: <p>Is it possible to use regexes or some "contain" function in <code>WebDriver.FindElement()</code>?</p>
  
  <p>e.g. I have an element with XPath like this</p>
  
  
  
  <pre class="lang-none prettyprint-override"><code>//html//body//form//table//tbody//tr//td//a[@href='view.php?id=']
  </code></pre>
  
  <p>and <code>id</code> is a random number like <code>view.php?id=132548</code></p>