공부
[Java] String.matches("stores.*store");
승가비
2020. 11. 23. 03:34
728x90
https://stackoverflow.com/questions/15130309/how-to-use-regex-in-string-contains-method-in-java
How to use regex in String.contains() method in Java
I want to check if a String contains the words "stores", "store", and "product" in that order, no matter what is in between them. I tried using someString.contains(stores%store%product); and also .
stackoverflow.com
728x90