how to get value without <br/>
tag using regex n java?
my String is:
<Div>
West Newton, MA 02465
<br/>USA
</Div>
output should be like:
West Newton, MA 02465
USA
my pattern is like:
Pattern p8 = Pattern
.compile("<div class=\"leftLabel\">Nickname</div>\\s+<div class=\"rightContent\">([^<]*)</div>");
Matcher m8 = p8.matcher(responseBody);
i didnt get anything as result. what i have to put there(instead of ([^<]*)).
How?