If you are talking about the HTML Path attribute in the Browser interface, then the only option is to have a dynamic path so you can set the full exact path at runtime. This is explained in the Browser Automation Guide.
This allows you to get the path of nearby elements and calculate the actual runtime path of other nearby elements.
There is no option for wildcard or regular expressions within the HTML path.