匹配Scala中的给定表达式

I want to match the below expression where * is replaced by any character or number .

A**C** DF**** GH****

以上表达式将在属性文件中进行配置

什么是在Scala中匹配此类表达式的理想方式。