I have a scenario like below,
There are few sub-strings need to extract from one string,
example : Main string :
<title><spring:message code='cdc.header.title'/><br></span><span><p></p> <spring:message code='cdc.accessdenied.title'/></title>
So i need to extract <spring:message code='cdc.header.title'/>,<spring:message code='cdc.accessdenied.title'/> ,
I mean what ever spring tag is there i want to retrieve those sub string as List<String>,
I dont want to use XML parser, I want to java PATTERN matcher because my file might not be well formed.
Please help me on this . Thanks