I have a String in java that is actually a JSON object. Inside the string I am trying to find a pattern matching this
"uris" : ["www.google.com", "www.yahoo.com"]
I need help in creating a pattern string to find a match for this. I have no idea of automata theory and regular expressions.
Note: the above substring will always start at "uris" and end at "]" but there can be any number of spaces in between.
YourJsonObject.getJSONArray("uris");and traverse the array using loop etcuris, or searching within values of other keys likekey="foo uris: [something]".