Regularly remove the space between tags and tags in html

the problem is purely technical and does not describe the project background.
question: regular expressions remove spaces between tags, do not remove spaces in tags.

Mar.09,2021

if there is a mixture of spaces and non-spaces between tags, do you want to remove such spaces? If you want to get rid of this, I don't think it can be done with regularity. if you only want to get rid of the situation where there are all spaces between the tags, it will be easy

.
html.replace(/>\s+</g, "><")
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b45018-2c755.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b45018-2c755.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?