1.scala判断字符串中是否有带数字
array.filter(x => x.matches(".*\\d+.*"))
2.字符串中数字替换为空
str.replaceAll("\\d+","")
3."FD-LTE_MRO_ERICSSON_OMC1_356296_20170317203000.xml.zip" => fd-lte_mro_ericsson_omc1
val regex =
"""^\d+$""".r
val elements = fileName.split("_", -1)
val filePrefixName = elements.takeWhile {
regex.findFirstMatchIn(_).isEmpty
}.mkString("_").toLowerCase()