Placeholder in Javascript

Good morning,
I want to find out in javascript with a query if a short string is included in a model number. The code now looks like this:

(ui.item.Partnumber).includes("C-")

But now I want to find out if there is a number before the “C” and a letter after the “-“. Unfortunately I can’t find anything on the web. Would that be possible with ${..} ? But also for this I found too little that it could help me.
Can someone help me please?