Is there any way to use regex or a "like" function for when I don't have the exact element id, but know the general format?

Currently I have

```
doc.css('table[id="UTA_basic"]//tbody')

```

but I'd like to find any table with an id like `XYZ_basic`, or even any table like `_basic` would work.

I'd be open to switching to xpath if needed.