XPath does not support regular expression. XPath supports various functions like starts-with() or contains() but it does not support regular expression. If you want to use regular expression you would have a fetch a large collection of WebElement which match a pattern then you can use the regular expression features of your programming language to filter for the match you want. This isn't the most efficient way to do this however because you could end up transmitting hundreds or even thousands of WebElement over the wire then sorting them locally.
It is better to use a locator which will find the single element you are looking for. Then the browser will do all the work for you and only transmit one WebElement to your test code.
Darrell