Trouble finding an object because a numeric value can change. would be posible to use Regex on xpath?

Hi!

Lets say i want to find this object:

MobileElement el2 = (MobileElement) driver.findElementByXPath(“(//XCUIElementTypeStaticText[@name="0"])[1]”);

how can i use regext o find it ? for example replacing 0 for one or more digits? " \d+ "