I want to remove anything between < and > including (< and >) from my string with regular expression. Here are fe
<
>
Try using the regex:
<.*?>
For example:
String s = "Hiand"; System.out.println(s.replaceAll("<.*?>", ""));