How can i get only index name from response generated by calling _cat/indices using java. Using EntityUtils i am getting the response as string which gives me information in the way how it looks when called using CURL command. i am using rest low level client for fetching the response.
String responseBody = EntityUtils.toString(response.getEntity());
How should i process the responseBody to get only index name ????