i am trying to extract string between [] from following string.
String e = "This is[[my small]]example[[string which I'm going]] to use for pattern matching";
by using following code :
Should print result as :Quote:
Pattern pattern = Pattern.compile("[[(.*?)]]");
Matcher matcher = pattern.matcher(e);
my small and string which I'm going