1
In java I am reading several lines of an HTML file and in it I have to remove some data and store in variables. And to remove this data I have to remove some tags and data that are within certain standards.
For example, to remove tags I use replaceAll("\\<.*?>", "");
, but now I need to remove from String everything inside parentheses. I tried using the code replaceAll("\\(.*?)", "");
, but it didn’t work out so well.
Has any response helped solve the problem and can address similar questions from other users? If so, make sure to mark the answer as accepted. To do this just click on the left side of it (below the indicator of up and down votes).
– Sorack