like
String urlString="http://myApp:8888/new/bin/save/DIG/WebHome"
i want to see if this string contains the pattern /DIG/. I think i can use String.matches(String regex) but i am not getting what should be regex for pattern
/DIG/? I am not getting what should be right regex for this? Sorry for asking this as iam very uncomfortable with regex .
what about
urlString.contains("/DIG/")?