Possible Duplicate:
substring between two delimiters
I have a string like
"ABC[ This is to extract ]"
I want to extract the part "This is to extract"
in java. I am trying to use split, but it is not working the way I want. Does anyone have suggestion?