I've currently huge amount of data (500 mb each) which I'm using lodash and cheerio to parse and fetch parts of it. Problem with new data is that it has some empty tags being incorrectly replaced.
Example:
<apple></apple>
gets replaced by
</apple>
I want to make sure that the previous formatting remains the same. Any regex that I can use to find these new empty tags and replace it with the old correct format?