Regex: how to know that string contains at least 2 upper case letters?

后端 未结 5 1245
栀梦
栀梦 2020-12-31 23:33

How to know that string contains at least 2 upper case letters? For example these are valid strings \"Lazy Cat\", \"NOt very lazy cat\". Working with Java 1.7.

5条回答
提交回复
热议问题