匹配字符串中的特定模式

时间:2020-04-06 13:31:51

标签: java

我有一个字符串err = Duplicate value(s) are not allowed for attribute(s): { a_id_1_a_name_1 dup key { "1", "yes" }

如何检查我的字符串是否具有模式anyString_digit_anystring_digit

anyString表示任何单词或字符。

0 个答案:

没有答案