I have a regex that removes the content in the Activity tag. The regex is \\s*(?:\\s|\\S)*<\\/activity>. It is possible in Java, but i
\\s*(?:\\s|\\S)*<\\/activity>