How do I remove repeating hyphens from Bubble';s slug?

@Bubble Support suggested I ask here.

Personally, I think it’s a bug that Bubble’s sluggify code doesn’t remove repeating hypens form their autogenerated slug.

But that aside, what find/replace or regex can I apply to convert repeating hyphens in a slug to single hyphens?