How to remove entire substring from '<' to '>' in Java

前端 未结 2 1735
北恋
北恋 2021-02-04 14:14

I have a program that takes an input string. I want to delete anything inside the characters \'<\' and \'>\'. For example if the string says

\"P.S.
     
 
热议问题