title: How to use regex in XPath "contains" function
body: <p>I would like to match the following text <code>sometext12345_text</code> using the below regex. </p>
  
  <p>I'm using this in one of my selenium tests.</p>
  
  <pre><code>String expr = "//*[contains(@id, 'sometext[0-9]+_text')]";
  driver.findElement(By.xpath(expr));
  </code></pre>
  
  <p>It doesn't seem to work though. Can somebody help?</p>